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.
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."');
Issue 122083002: createElementNS handles element name 'xmlns' correctly.
(Closed)
Created 6 years, 12 months ago by pwnall-personal
Modified 6 years, 11 months ago
Reviewers: adamk, abarth-chromium
Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Comments: 2