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

Unified Diff: LayoutTests/fast/dom/null-page-show-modal-dialog-crash.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
Index: LayoutTests/fast/dom/null-page-show-modal-dialog-crash.html
diff --git a/LayoutTests/fast/dom/null-page-show-modal-dialog-crash.html b/LayoutTests/fast/dom/null-page-show-modal-dialog-crash.html
deleted file mode 100644
index 0fefb2a2254d538ffa2715f00bbfff0dda0a355e..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/null-page-show-modal-dialog-crash.html
+++ /dev/null
@@ -1,25 +0,0 @@
-This is a test for <a href="https://bugs.webkit.org/show_bug.cgi?id=19541">https://bugs.webkit.org/show_bug.cgi?id=19541</a>
-RBug 19541: Null pointer in showModalDialog()
-
-This tests calling the showModalDialog() function on a window object from a detached iframe, both calling the saved showModalDialog() function and getting the property again after the iframe has been detached.
-
-If there is no crash this test passes.
-<script type="text/javascript">
-if (window.testRunner)
- testRunner.dumpAsText();
-
-var iframe = document.createElement("iframe");
-
-iframe.onload = function() {
- var iframeWindow = iframe.contentWindow;
- var f = iframeWindow.showModalDialog;
-
- iframe.parentNode.removeChild(iframe);
- if (iframeWindow.showModalDialog)
- iframeWindow.showModalDialog();
- if (f)
- f.call(iframeWindow);
-};
-
-document.body.appendChild(iframe);
-</script>

Powered by Google App Engine
This is Rietveld 408576698