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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/navigation/resources/no-referrer-helper.php

Issue 2039313002: Replicating can_open_windows layout tests runtime flag across OOPIFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Insulating no-referrer-helper.php from the changes. Created 4 years, 6 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
« no previous file with comments | « third_party/WebKit/LayoutTests/FlagExpectations/site-per-process ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/navigation/resources/no-referrer-helper.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/resources/no-referrer-helper.php b/third_party/WebKit/LayoutTests/http/tests/navigation/resources/no-referrer-helper.php
index fea93dc809073b327fec6e82150e295cf2e43330..001322d394d583e6d3ff0e7d3b7b1688a41eaf80 100644
--- a/third_party/WebKit/LayoutTests/http/tests/navigation/resources/no-referrer-helper.php
+++ b/third_party/WebKit/LayoutTests/http/tests/navigation/resources/no-referrer-helper.php
@@ -19,7 +19,7 @@ function log(msg)
}
var consoleWindow = window.open("", "consoleWindow");
- if (consoleWindow) {
+ if (consoleWindow && consoleWindow.log) {
Łukasz Anforowicz 2016/06/06 21:17:14 The new condition is necessary to check if console
consoleWindow.log(document.getElementById("referrer").innerText);
consoleWindow.log("window.opener: " + (window.opener ? window.opener.location : ""));
}
« no previous file with comments | « third_party/WebKit/LayoutTests/FlagExpectations/site-per-process ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698