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

Unified Diff: LayoutTests/fast/dom/Document/script-tests/invalid-domain-change-throws-exception.js

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/fast/dom/Document/script-tests/invalid-domain-change-throws-exception.js
diff --git a/LayoutTests/fast/dom/Document/script-tests/invalid-domain-change-throws-exception.js b/LayoutTests/fast/dom/Document/script-tests/invalid-domain-change-throws-exception.js
index 15f3ad76733bff692d6427b23b7f47c95a89e1c0..9b8a7c986d0ce1470248468692262d1780c6be43 100644
--- a/LayoutTests/fast/dom/Document/script-tests/invalid-domain-change-throws-exception.js
+++ b/LayoutTests/fast/dom/Document/script-tests/invalid-domain-change-throws-exception.js
@@ -1,3 +1,3 @@
description("This test checks that a SECURITY_ERR exception is raised if an attempt is made to change document.domain to an invalid value.");
-shouldThrow('document.domain = "apple.com"', '"Error: SecurityError: DOM Exception 18"');
+shouldThrow('document.domain = "apple.com"', '"SecurityError: An attempt was made to break through the security policy of the user agent."');

Powered by Google App Engine
This is Rietveld 408576698