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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/document-domain-set.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
« no previous file with comments | « LayoutTests/http/tests/workers/worker-document-domain-security.html ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/xmlhttprequest/document-domain-set.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/document-domain-set.html b/LayoutTests/http/tests/xmlhttprequest/document-domain-set.html
index b0cdfd3d05931840c8e9816f6efa36e16ddc2ef0..fca1a6ca3cca907542eae6fa3bd6aee97a77806b 100644
--- a/LayoutTests/http/tests/xmlhttprequest/document-domain-set.html
+++ b/LayoutTests/http/tests/xmlhttprequest/document-domain-set.html
@@ -5,6 +5,9 @@
if (window.testRunner)
testRunner.dumpAsText();
+if (window.internals)
+ internals.settings.setTreatIPAddressAsDomain(true);
+
document.domain = '0.0.1';
document.write('Waiting...\n');
« no previous file with comments | « LayoutTests/http/tests/workers/worker-document-domain-security.html ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698