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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/navigation/post-with-modifier.html

Issue 2417983002: Form submissions opening in a new window don't need special treatment anymore. (Closed)
Patch Set: Using params.source_site_instance for consistency with //chrome layer. Created 4 years, 2 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/http/tests/navigation/post-with-modifier.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/post-with-modifier.html b/third_party/WebKit/LayoutTests/http/tests/navigation/post-with-modifier.html
index 16ba0716034f559bf43be2f178bb756d652b133b..7bbb376947d15a849d0bed88492055a6fb127601 100644
--- a/third_party/WebKit/LayoutTests/http/tests/navigation/post-with-modifier.html
+++ b/third_party/WebKit/LayoutTests/http/tests/navigation/post-with-modifier.html
@@ -32,6 +32,9 @@ if (window.testRunner) {
eventSender.mouseUp(0, ['shiftKey']);
};
+ // Shift-clicking doesn't set window.opener, so we allow the new window
+ // to find the opener using the name being set below.
+ window.name = "mainTestWindow";
window.addEventListener('message', function(e) {
concludeTest(e.data);
});

Powered by Google App Engine
This is Rietveld 408576698