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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt

Issue 1999243002: Import wpt@5df9b57edb3307a87d5187804b29c8ddd2aa14e1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add expectations files (using run-webkit-tests --new-baseline) Created 4 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/imported/wpt/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt
index 142bd318914277f320d25e69945223c0452596fd..fc4b8aeedfd6c50786cf4d67ff5cdc7f34ee9e41 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt
+++ b/third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange-expected.txt
@@ -8,9 +8,9 @@ PASS input setSelectionRange(2,2)
PASS input setSelectionRange(2,1)
PASS input direction of setSelectionRange(0,1,"backward")
PASS input direction of setSelectionRange(0,1,"forward")
-PASS input direction of setSelectionRange(0,1,"none")
-PASS input direction of setSelectionRange(0,1,"hoge")
-PASS input direction of setSelectionRange(0,1,"BACKWARD")
+FAIL input direction of setSelectionRange(0,1,"none") assert_equals: The direction of the selection must be set to forward if direction is a case-sensitive match for the string "none" expected "none" but got "forward"
+FAIL input direction of setSelectionRange(0,1,"hoge") assert_equals: otherwise expected "none" but got "forward"
+FAIL input direction of setSelectionRange(0,1,"BACKWARD") assert_equals: selectionDirection should be 'none' expected "none" but got "forward"
PASS input direction of setSelectionRange(0,1)
PASS input setSelectionRange("string",1)
PASS input setSelectionRange(true,1)
@@ -28,16 +28,16 @@ PASS textarea setSelectionRange(2,2)
PASS textarea setSelectionRange(2,1)
PASS textarea direction of setSelectionRange(0,1,"backward")
PASS textarea direction of setSelectionRange(0,1,"forward")
-PASS textarea direction of setSelectionRange(0,1,"none")
-PASS textarea direction of setSelectionRange(0,1,"hoge")
-PASS textarea direction of setSelectionRange(0,1,"BACKWARD")
-PASS textarea direction of setSelectionRange(0,1)
-FAIL textarea setSelectionRange("string",1) assert_equals: element.selectionStart should be 0 expected 1 but got 0
+FAIL textarea direction of setSelectionRange(0,1,"none") assert_equals: The direction of the selection must be set to forward if direction is a case-sensitive match for the string "none" expected "none" but got "forward"
+FAIL textarea direction of setSelectionRange(0,1,"hoge") assert_equals: otherwise expected "none" but got "forward"
+FAIL textarea direction of setSelectionRange(0,1,"BACKWARD") assert_equals: selectionDirection should be 'none' expected "none" but got "forward"
+FAIL textarea direction of setSelectionRange(0,1) assert_equals: if the argument is omitted expected "none" but got "forward"
+PASS textarea setSelectionRange("string",1)
PASS textarea setSelectionRange(true,1)
-FAIL textarea setSelectionRange([],1) assert_equals: element.selectionStart should be 0 expected 1 but got 0
-FAIL textarea setSelectionRange({},1) assert_equals: element.selectionStart should be 0 expected 1 but got 0
-FAIL textarea setSelectionRange(NaN,1) assert_equals: element.selectionStart should be 0 expected 1 but got 0
-FAIL textarea setSelectionRange(null,1) assert_equals: element.selectionStart should be 0 expected 1 but got 0
-FAIL textarea setSelectionRange(undefined,1) assert_equals: element.selectionStart should be 0 expected 1 but got 0
+PASS textarea setSelectionRange([],1)
+PASS textarea setSelectionRange({},1)
+PASS textarea setSelectionRange(NaN,1)
+PASS textarea setSelectionRange(null,1)
+PASS textarea setSelectionRange(undefined,1)
Harness: the test ran to completion.

Powered by Google App Engine
This is Rietveld 408576698