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

Unified Diff: LayoutTests/http/tests/security/aboutBlank/security-context-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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/aboutBlank/security-context-grandchildren-alias.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/aboutBlank/security-context-alias.html
diff --git a/LayoutTests/http/tests/security/aboutBlank/security-context-alias.html b/LayoutTests/http/tests/security/aboutBlank/security-context-alias.html
index a89acc2bcab6d8e3da61d1dd0548dba0b16f30d2..129f5305db2e05f3bad73f8b7535d59c19a82e3f 100644
--- a/LayoutTests/http/tests/security/aboutBlank/security-context-alias.html
+++ b/LayoutTests/http/tests/security/aboutBlank/security-context-alias.html
@@ -5,7 +5,10 @@
<pre>
<script>
if (window.testRunner)
- testRunner.dumpAsText();
+ testRunner.dumpAsText();
+
+if (window.internals)
+ internals.settings.setTreatIPAddressAsDomain(true);
document.write('--- Test begins ---\n');
document.write('* "about:blank"\n');
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/aboutBlank/security-context-grandchildren-alias.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698