Index: LayoutTests/fast/dom/custom/document-register-namespace.html |
diff --git a/LayoutTests/fast/dom/custom/document-register-namespace.html b/LayoutTests/fast/dom/custom/document-register-namespace.html |
index c32b28ff4c00e8b1531189dcf1d0fba8df746177..1afccffd868ce7017b28568cea5357a509c371bd 100644 |
--- a/LayoutTests/fast/dom/custom/document-register-namespace.html |
+++ b/LayoutTests/fast/dom/custom/document-register-namespace.html |
@@ -64,7 +64,7 @@ shouldBe("Object.getPrototypeOf(notSVG2)", "HTMLElement.prototype"); |
// Trying to extend something outside HTML or SVG should throw a NAMESPACE_ERR |
shouldThrow( |
"document.register('xml-foo', { prototype: Object.create(Element.prototype) })", |
- "'Error: NamespaceError: DOM Exception 14'"); |
+ "'NamespaceError: An attempt was made to create or change an object in a way which is incorrect with regard to namespaces.'"); |
</script> |
<script src="../../js/resources/js-test-post.js"></script> |