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

Side by Side Diff: LayoutTests/fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js

Issue 122083002: createElementNS handles element name 'xmlns' correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed feedback. Created 6 years, 11 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
OLDNEW
(Empty)
1 description("Test that calling setAttributeNS() with a prefixed qualifiedName an d null NS throws NAMESPACE_ERR.");
2
3 shouldThrow("document.createElement('test').setAttributeNS(null, 'foo:bar', 'baz ')", '"NamespaceError: Failed to execute \'setAttributeNS\' on \'Element\': \'\' is an invalid namespace for attributes."');
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/createElementNS-namespace-errors-expected.txt ('k') | LayoutTests/fast/dom/setAttributeNS.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698