| Index: third_party/WebKit/LayoutTests/fast/dom/Window/window-open-with-different-active-and-opener-windows.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/window-open-with-different-active-and-opener-windows.html b/third_party/WebKit/LayoutTests/fast/dom/Window/window-open-with-different-active-and-opener-windows.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9217b6e9b8dd3b21923bd8537f9a324207843512
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/Window/window-open-with-different-active-and-opener-windows.html
|
| @@ -0,0 +1,23 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script src="../../../resources/js-test.js"></script>
|
| +<script>
|
| +var jsTestIsAsync = true;
|
| +description('Test that window.open sets the correct opener when the calling context != window');
|
| +if (window.testRunner)
|
| + testRunner.setCanOpenWindows(true);
|
| +function passed() {
|
| + testPassed('passed called on "this" argument of window.open');
|
| + finishJSTest();
|
| +}
|
| +function failed() {
|
| + testFailed('passed was called on calling context of window.open =(');
|
| + finishJSTest();
|
| +}
|
| +</script>
|
| +</head>
|
| +<body>
|
| +<iframe src="resources/window-open-with-different-active-and-opener-windows-subframe.html"></iframe>
|
| +</body>
|
| +</html>
|
|
|