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

Unified Diff: LayoutTests/http/tests/workers/worker-document-domain-security.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/workers/worker-document-domain-security.html
diff --git a/LayoutTests/http/tests/workers/worker-document-domain-security.html b/LayoutTests/http/tests/workers/worker-document-domain-security.html
index 2730a54d6f4997ef4c1ed526a830f5b1121e3c09..8d8099cebac73c7ec9df7495040d0ae1ac327ea1 100644
--- a/LayoutTests/http/tests/workers/worker-document-domain-security.html
+++ b/LayoutTests/http/tests/workers/worker-document-domain-security.html
@@ -5,6 +5,9 @@
if (window.testRunner)
testRunner.dumpAsText();
+if (window.internals)
+ internals.settings.setTreatIPAddressAsDomain(true);
+
function log(message)
{
document.getElementById("result").innerHTML += message + "<br>";

Powered by Google App Engine
This is Rietveld 408576698