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

Unified Diff: LayoutTests/fast/dom/Window/open-after-frame-detached-expected.txt

Issue 131113003: Fix DOMWindow::isCurrentlyDisplayedInFrame to return false when detached (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix ScreenOrientation + test window.open. 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/Window/open-after-frame-detached-expected.txt
diff --git a/LayoutTests/fast/dom/Window/open-after-frame-detached-expected.txt b/LayoutTests/fast/dom/Window/open-after-frame-detached-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..30efc08e1e1a4a0d7935a5461473d0501ac56277
--- /dev/null
+++ b/LayoutTests/fast/dom/Window/open-after-frame-detached-expected.txt
@@ -0,0 +1,10 @@
+Tests that calling window.open on the contentWindow of a detached frame does not crash or open a new window. You may need to disable popup blocking for this test case.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+FAIL childWindow.open('about:blank') should be null (of type object). Was undefined (of type undefined).
+

Powered by Google App Engine
This is Rietveld 408576698