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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/Window/window-open-with-different-active-and-opener-windows.html

Issue 1849703002: Set the correct opener for window.open when calling window != window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase layout test Created 4 years, 8 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 <script>
6 var jsTestIsAsync = true;
7 description('Test that window.open sets the correct opener when the calling cont ext != window');
8 if (window.testRunner)
9 testRunner.setCanOpenWindows(true);
10 function passed() {
11 testPassed('passed called on "this" argument of window.open');
12 finishJSTest();
13 }
14 function failed() {
15 testFailed('passed was called on calling context of window.open =(');
16 finishJSTest();
17 }
18 </script>
19 </head>
20 <body>
21 <iframe src="resources/window-open-with-different-active-and-opener-windows-subf rame.html"></iframe>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698