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

Unified Diff: LayoutTests/http/tests/security/aboutBlank/security-context-grandchildren-alias.html

Issue 50573004: Don't set document.domain to an IP address fragment. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: missing weboriginexport header Created 7 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: LayoutTests/http/tests/security/aboutBlank/security-context-grandchildren-alias.html
diff --git a/LayoutTests/http/tests/security/aboutBlank/security-context-grandchildren-alias.html b/LayoutTests/http/tests/security/aboutBlank/security-context-grandchildren-alias.html
index bea6ad0b342fd107d143fdf85cd3e24500a46b04..7b425a04750b7d1e2e07916508108c2ac46a36cb 100644
--- a/LayoutTests/http/tests/security/aboutBlank/security-context-grandchildren-alias.html
+++ b/LayoutTests/http/tests/security/aboutBlank/security-context-grandchildren-alias.html
@@ -6,6 +6,9 @@ if (window.testRunner) {
testRunner.waitUntilDone();
}
+if (window.internals)
+ internals.settings.setTreatIPAddressAsDomain(true);
+
function log(msg) {
var line = document.createElement('div');
line.appendChild(document.createTextNode(msg));

Powered by Google App Engine
This is Rietveld 408576698