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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/selection-wrongtype-expected.txt

Issue 2706033004: Don't throw when getting selection(Direction|Start|End) on input (Closed)
Patch Set: Refine test Created 3 years, 10 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/forms/selection-wrongtype-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/forms/selection-wrongtype-expected.txt b/third_party/WebKit/LayoutTests/fast/forms/selection-wrongtype-expected.txt
index 45d475fa736b1975c5769d6c904be3c694550f90..863f3fec7db2aa0d92015e87d8f9a230adcaf57a 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/selection-wrongtype-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/forms/selection-wrongtype-expected.txt
@@ -3,123 +3,123 @@ Tests to ensure selectionStart, selectionEnd, selectionDirection and selectionRa
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('button') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('button') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('button') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('button') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('button') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('button') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('checkbox') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('checkbox') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('checkbox') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('checkbox') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('checkbox') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('checkbox') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('file') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('file') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('file') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('file') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('file') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('file') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('hidden') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('hidden') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('hidden') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('hidden') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('hidden') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('hidden') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('image') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('image') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('image') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('image') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('image') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('image') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('radio') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('radio') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('radio') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('radio') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('radio') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('radio') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('range') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('range') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('range') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('range') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('range') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('range') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('reset') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('reset') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('reset') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('reset') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('reset') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('reset') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('submit') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('submit') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('submit') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('submit') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('submit') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('submit') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('email') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('email') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('email') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('email') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('email') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('email') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('number') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('number') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('number') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('number') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('number') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('number') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('date') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('date') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('date') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('date') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('date') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('date') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('time') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('time') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('time') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('time') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('time') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('time') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('month') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('month') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('month') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('month') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('month') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('month') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('week') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('week') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('week') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('week') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('week') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('week') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('datetime-local') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('datetime-local') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('datetime-local') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('datetime-local') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('datetime-local') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('datetime-local') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
-PASS test.selectionStart threw exception InvalidStateError: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('color') does not support selection..
+PASS test.selectionStart is null
PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set the 'selectionStart' property on 'HTMLInputElement': The input element's type ('color') does not support selection..
-PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'selectionEnd' property from 'HTMLInputElement': The input element's type ('color') does not support selection..
+PASS test.selectionEnd is null
PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('color') does not support selection..
-PASS test.selectionDirection threw exception InvalidStateError: Failed to read the 'selectionDirection' property from 'HTMLInputElement': The input element's type ('color') does not support selection..
+PASS test.selectionDirection is null
PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to set the 'selectionDirection' property on 'HTMLInputElement': The input element's type ('color') does not support selection..
PASS test.selectionRange() threw exception TypeError: test.selectionRange is not a function.
PASS successfullyParsed is true
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/forms/selection-wrongtype.html ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698