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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/dom-token-list-expected.txt

Issue 2903803002: DOMTokenList should unify duplicated tokens. (Closed)
Patch Set: Update a -expected.txt Created 3 years, 7 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/HTMLOutputElement/dom-token-list-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/dom-token-list-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/dom-token-list-expected.txt
index 7b37d0189864d957a213efe5ec6d0e8e3633e46d..2d37d26a8566eaf1fc5bcc2af85b352e8938f13e 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/dom-token-list-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLOutputElement/dom-token-list-expected.txt
@@ -10,15 +10,15 @@ PASS element.htmlFor.value is "y"
PASS String(element.htmlFor) is "y"
PASS element.htmlFor.length is 0
PASS element.htmlFor.length is 1
+PASS element.htmlFor.length is 1
PASS element.htmlFor.length is 2
-PASS element.htmlFor.length is 2
PASS element.htmlFor.toString() is "x"
PASS element.htmlFor.toString() is "x"
-PASS element.htmlFor.toString() is "x x"
+PASS element.htmlFor.toString() is "x"
PASS element.htmlFor.toString() is "y x"
PASS element.htmlFor.toString() is ""
PASS element.htmlFor.toString() is ""
-PASS element.htmlFor.toString() is "y y"
+PASS element.htmlFor.toString() is "y"
PASS element.htmlFor.toString() is "y"
- Ensure that we can handle empty form attribute correctly
PASS list.value is "x"
@@ -43,8 +43,8 @@ PASS element.htmlFor.toggle('x y') threw expected DOMException with code 5
- Indexing
PASS element.htmlFor[0] is "x"
PASS element.htmlFor.item(0) is "x"
-PASS element.htmlFor[1] is "x"
-PASS element.htmlFor.item(1) is "x"
+PASS element.htmlFor[1] is undefined.
+PASS element.htmlFor.item(1) is null
PASS element.htmlFor[1] is "y"
PASS element.htmlFor.item(1) is "y"
PASS element.htmlFor[0] is undefined.

Powered by Google App Engine
This is Rietveld 408576698