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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err-expected.txt

Issue 2841393003: createElementNS() should now throw only InvalidCharacterError, not NamespaceError (Closed)
Patch Set: rebased Created 3 years, 8 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: third_party/WebKit/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err-expected.txt
index 613e0d9e3d8cbdac6fab8e681dbc395a3d797b45..f4cf2e22a75e4ffe5961220ff18d626417c20025 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err-expected.txt
@@ -21,15 +21,15 @@ PASS element.setAttributeNS("http://example.com/", "0div", 'value'); threw INVAL
PASS element.setAttributeNS("http://example.com/", "di<v", 'value'); threw INVALID_CHARACTER_ERR
PASS element.setAttributeNS("http://example.com/", "-div", 'value'); threw INVALID_CHARACTER_ERR
PASS element.setAttributeNS("http://example.com/", ".div", 'value'); threw INVALID_CHARACTER_ERR
-PASS element.setAttributeNS(null, ":div", 'value'); threw NAMESPACE_ERR
-PASS element.setAttributeNS(null, "div:", 'value'); threw NAMESPACE_ERR
-PASS element.setAttributeNS("http://example.com/", ":div", 'value'); threw NAMESPACE_ERR
-PASS element.setAttributeNS("http://example.com/", "div:", 'value'); threw NAMESPACE_ERR
+PASS element.setAttributeNS(null, ":div", 'value'); threw INVALID_CHARACTER_ERR
+PASS element.setAttributeNS(null, "div:", 'value'); threw INVALID_CHARACTER_ERR
+PASS element.setAttributeNS("http://example.com/", ":div", 'value'); threw INVALID_CHARACTER_ERR
+PASS element.setAttributeNS("http://example.com/", "div:", 'value'); threw INVALID_CHARACTER_ERR
PASS element.setAttributeNS(null, "d:iv", 'value'); threw NAMESPACE_ERR
-PASS element.setAttributeNS(null, "a:b:c", 'value'); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS element.setAttributeNS("http://example.com/", "a:b:c", 'value'); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS element.setAttributeNS(null, "a::c", 'value'); valid XML name, invalid QName; threw NAMESPACE_ERR
-PASS element.setAttributeNS("http://example.com/", "a::c", 'value'); valid XML name, invalid QName; threw NAMESPACE_ERR
+PASS element.setAttributeNS(null, "a:b:c", 'value'); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS element.setAttributeNS("http://example.com/", "a:b:c", 'value'); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS element.setAttributeNS(null, "a::c", 'value'); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
+PASS element.setAttributeNS("http://example.com/", "a::c", 'value'); valid XML name, invalid QName; threw INVALID_CHARACTER_ERR
PASS element.setAttributeNS("http://example.com/", "a:0", 'value'); valid XML name, not a valid QName; threw INVALID_CHARACTER_ERR
PASS element.setAttributeNS("http://example.com/", "0:a", 'value'); 0 at start makes it not a valid XML name; threw INVALID_CHARACTER_ERR
PASS element.setAttributeNS("http://example.com/", "a:_", 'value')

Powered by Google App Engine
This is Rietveld 408576698