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

Unified 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, 12 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
deleted file mode 100644
index 358d590caddf0b0331a7103bd03f5113ffdb7731..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js
+++ /dev/null
@@ -1,3 +0,0 @@
-description("Test that calling setAttributeNS() with a prefixed qualifiedName and null NS throws NAMESPACE_ERR.");
-
-shouldThrow("document.createElement('test').setAttributeNS(null, 'foo:bar', 'baz')", '"NamespaceError: Failed to execute \'setAttributeNS\' on \'Element\': \'\' is an invalid namespace for attributes."');
« 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