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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-classlist-expected.txt

Issue 1899623002: Import latest web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: handle new failures Created 4 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/imported/web-platform-tests/dom/nodes/Element-classlist-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-classlist-expected.txt b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-classlist-expected.txt
index d4abfd961e64f2aecee68e564a67224058ea7fdc..5ae14cc64ef4c940f10fc88c3f3b4cee9bcfb66c 100644
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-classlist-expected.txt
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/Element-classlist-expected.txt
@@ -14,12 +14,12 @@ PASS classList[index] must be undefined for out-of-range index
PASS classList[index] must be undefined for negative index
FAIL className should contain initial markup whitespace assert_equals: expected " " but got ""
PASS classList should contain initial markup whitespace
-PASS .contains(empty_string) must throw a SYNTAX_ERR
+FAIL .contains(empty_string) must return false Failed to execute 'contains' on 'DOMTokenList': The token provided must not be empty.
PASS .add(empty_string) must throw a SYNTAX_ERR
PASS .remove(empty_string) must throw a SYNTAX_ERR
PASS .toggle(empty_string) must throw a SYNTAX_ERR
FAIL .replace with empty_string must throw a SYNTAX_ERR assert_throws: function "function () { elem.classList.replace('', 'foo'); }" threw object "TypeError: elem.classList.replace is not a function" that is not a DOMException SYNTAX_ERR: property "code" is equal to undefined, expected 12
-PASS .contains(string_with_spaces) must throw an INVALID_CHARACTER_ERR
+FAIL .contains(string_with_spaces) must return false Failed to execute 'contains' on 'DOMTokenList': The token provided ('a b') contains HTML space characters, which are not valid in tokens.
PASS .add(string_with_spaces) must throw an INVALID_CHARACTER_ERR
PASS .remove(string_with_spaces) must throw an INVALID_CHARACTER_ERR
PASS .toggle(string_with_spaces) must throw an INVALID_CHARACTER_ERR

Powered by Google App Engine
This is Rietveld 408576698