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

Unified Diff: LayoutTests/fast/dom/custom/document-register-namespace.html

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/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>

Powered by Google App Engine
This is Rietveld 408576698