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

Unified Diff: LayoutTests/http/tests/security/setDomainRelaxationForbiddenForURLScheme-expected.txt

Issue 23321002: Convert 'document.domain' exceptions to 'es.throwSecurityError()'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/setDomainRelaxationForbiddenForURLScheme-expected.txt
diff --git a/LayoutTests/http/tests/security/setDomainRelaxationForbiddenForURLScheme-expected.txt b/LayoutTests/http/tests/security/setDomainRelaxationForbiddenForURLScheme-expected.txt
index 7de385a753e3065785cf58fcb25a09b501f27591..e0a94207f89e2db9dccfa69596773c1b1af7da67 100644
--- a/LayoutTests/http/tests/security/setDomainRelaxationForbiddenForURLScheme-expected.txt
+++ b/LayoutTests/http/tests/security/setDomainRelaxationForbiddenForURLScheme-expected.txt
@@ -3,7 +3,7 @@ Test for Bug 33806: Would like API to disallow setting of document.domain for pa
PASS: document.domain should be 127.0.0.1 and is
PASS: document.domain should be 0.0.1 and is
Forbidding domain relaxation for the http: scheme
-PASS: Setting document.domain from a forbidden URL scheme threw exception "SecurityError: 'document.domain' assignment is forbidden for the 'http' scheme."
+PASS: Setting document.domain from a forbidden URL scheme threw exception "SecurityError: Failed to set the 'domain' property on 'Document': assignment is forbidden for the 'http' scheme."
PASS: document.domain should be 0.0.1 and is
Allowing domain relaxation for the http: scheme
PASS: document.domain should be 0.1 and is
« no previous file with comments | « LayoutTests/fast/dom/Document/script-tests/invalid-domain-change-throws-exception.js ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698