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

Unified Diff: LayoutTests/fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.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/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.'");

Powered by Google App Engine
This is Rietveld 408576698