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

Side by Side Diff: LayoutTests/fast/dom/Window/BarInfo-after-frame-removed.html

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, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
8 }
9
10 function runTest()
11 {
12 if (window.testRunner)
13 testRunner.notifyDone();
14
15 var frame = document.getElementById("frame");
16 var childWindow = frame.contentWindow;
17 frame.parentNode.removeChild(frame);
18 childWindow.toolbar.visible;
19
20 document.getElementById("console").firstChild.data = "TEST RAN";
21 }
22
23 </script>
24 </head>
25 <body>
26
27 <p>This tests accessing the visible property of a BarInfo after the relevant fra me is no longer in a web page.
28 If the test did not crash, it passed.<p>
29
30 <pre id="console">TEST DID NOT RUN</pre>
31
32 <iframe id="frame" src="about:blank" onload="runTest()">
33
34 </body>
35 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Window/BarInfo-after-frame-removed-expected.txt » ('j') | Source/core/frame/DOMWindow.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698