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."'); |