Index: LayoutTests/http/tests/security/setDomainRelaxationForbiddenForURLScheme.html |
diff --git a/LayoutTests/http/tests/security/setDomainRelaxationForbiddenForURLScheme.html b/LayoutTests/http/tests/security/setDomainRelaxationForbiddenForURLScheme.html |
index 8454f9ea83dddbb9b239ecb62172ab47570a37c0..edd89bb5b4be66c1b6439f8bf38097f6d5b899a9 100644 |
--- a/LayoutTests/http/tests/security/setDomainRelaxationForbiddenForURLScheme.html |
+++ b/LayoutTests/http/tests/security/setDomainRelaxationForbiddenForURLScheme.html |
@@ -30,6 +30,9 @@ |
else |
log("This test can be run meaningfully only in DumpRenderTree"); |
+ if (window.internals) |
+ internals.settings.setTreatIPAddressAsDomain(true); |
+ |
domainShouldBe("127.0.0.1"); |
document.domain = "0.0.1"; |
domainShouldBe("0.0.1"); |