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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 description("Test that calling setAttributeNS() with a prefixed qualifiedName an d null NS throws NAMESPACE_ERR."); 1 description("Test that calling setAttributeNS() with a prefixed qualifiedName an d null NS throws NAMESPACE_ERR.");
2 2
3 shouldThrow("document.createElement('test').setAttributeNS(null, 'foo:bar', 'baz ')", "'Error: NamespaceError: DOM Exception 14'"); 3 shouldThrow("document.createElement('test').setAttributeNS(null, 'foo:bar', 'baz ')", "'NamespaceError: An attempt was made to create or change an object in a wa y which is incorrect with regard to namespaces.'");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698