Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: ManualTests/showModalDialog-returnValue.html

Issue 174073007: Remove deprecated window.showModalDialog() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ManualTests/show-modal-dialog-test.html ('k') | Source/bindings/v8/custom/V8WindowCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ManualTests/showModalDialog-returnValue.html
diff --git a/ManualTests/showModalDialog-returnValue.html b/ManualTests/showModalDialog-returnValue.html
deleted file mode 100644
index fbc3ee360f8ab6d317ae6e848a34b1dd78ecc520..0000000000000000000000000000000000000000
--- a/ManualTests/showModalDialog-returnValue.html
+++ /dev/null
@@ -1,13 +0,0 @@
-This test makes sure we don't crash when storing the return value from showModalDialog. Popup blocking needs to be disabled for this test to run.<br>
-<script>
-if (showModalDialog("data:text/html,<script>returnValue={value:'PASS'}; close()</"+"script>").value == "PASS")
- document.write("<span style='color:green'>Test passed.<br>");
-else
- document.write("<span style='color:red'>Test failed due to incorrect result.<br>");
-value = showModalDialog("data:text/html,<script>close()</"+"script>");
-if (!value)
- document.write("<span style='color:green'>Test passed.<br>");
-else
- document.write("<span style='color:red'>Test failed due to incorrect result.<br>");
-
-</script>
« no previous file with comments | « ManualTests/show-modal-dialog-test.html ('k') | Source/bindings/v8/custom/V8WindowCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698