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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/dom/nodes/attributes-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/external/wpt/dom/nodes/attributes-expected.txt
diff --git a/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/attributes-expected.txt b/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/attributes-expected.txt
index f1fe8eb6aa85044f8fe440315ebed58cc14551f4..44dbebf86ed1c93d8a468c834e0b8445d629738c 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/attributes-expected.txt
+++ b/third_party/WebKit/LayoutTests/external/wpt/dom/nodes/attributes-expected.txt
@@ -1,5 +1,5 @@
This is a testharness.js-based test.
-Found 58 tests; 49 PASS, 9 FAIL, 0 TIMEOUT, 0 NOTRUN.
+Found 58 tests; 50 PASS, 8 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown. (setAttribute)
PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown, even if the attribute is already present. (setAttribute)
PASS setAttribute should lowercase its name argument (upper case attribute)
@@ -11,7 +11,7 @@ PASS setAttribute should set the first attribute with the given name
PASS setAttribute should set the attribute with the given qualified name
PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown. (setAttributeNS)
PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER_ERR exception is to be thrown, even if the attribute is already present. (setAttributeNS)
-FAIL When qualifiedName does not match the QName production, an INVALID_CHARACTER_ERR exception is to be thrown. assert_throws: Expected exception for :a. function "function () { el.setAttributeNS("a", invalid_qnames[i], "fail") }" threw object "NamespaceError: Failed to execute 'setAttributeNS' on 'Element': The qualified name provided (':a') has an empty namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5
+PASS When qualifiedName does not match the QName production, an INVALID_CHARACTER_ERR exception is to be thrown.
PASS null and the empty string should result in a null namespace.
PASS A namespace is required to use a prefix.
PASS The xml prefix should not be allowed for arbitrary namespaces

Powered by Google App Engine
This is Rietveld 408576698