Index: LayoutTests/fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js |
diff --git a/LayoutTests/fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js b/LayoutTests/fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js |
index 90e6bf658561dbc1bc118cea2e7739a88fbbbbd6..4518bd1a4fbda761c4ebbc1b588bbe63b363e95a 100644 |
--- a/LayoutTests/fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js |
+++ b/LayoutTests/fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js |
@@ -1,3 +1,3 @@ |
description("Test that calling setAttributeNS() with a prefixed qualifiedName and null NS throws NAMESPACE_ERR."); |
-shouldThrow("document.createElement('test').setAttributeNS(null, 'foo:bar', 'baz')", "'Error: NamespaceError: DOM Exception 14'"); |
+shouldThrow("document.createElement('test').setAttributeNS(null, 'foo:bar', 'baz')", "'NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.'"); |