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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-open-with-different-active-and-opener-windows-subframe.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, 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-open-with-different-active-and-opener-windows-subframe.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-open-with-different-active-and-opener-windows-subframe.html b/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-open-with-different-active-and-opener-windows-subframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..01842dfc40062fa9961e338252692807801ee8d6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-open-with-different-active-and-opener-windows-subframe.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function passed() {
+ window.top.failed();
+}
+window.top.open('window-open-with-different-active-and-opener-windows-popup.html');
+</script>
+</head>
+</html>

Powered by Google App Engine
This is Rietveld 408576698