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

Side by Side Diff: LayoutTests/fast/forms/selection-wrongtype-expected.txt

Issue 596723002: Enabling selection API for input type=<file, color, date, email, number> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Enabling Selection API for input type email and number Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 Tests to ensure selectionStart, selectionEnd, selectionDirection and selectionRa nge throw exceptions when the input element is not a text field. 1 Tests to ensure selectionStart, selectionEnd, selectionDirection and selectionRa nge throw exceptions when the input element is not a text field.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('but ton') does not support selection.. 6 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('but ton') does not support selection..
7 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('bu tton') does not support selection.. 7 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('bu tton') does not support selection..
8 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('button' ) does not support selection.. 8 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('button' ) does not support selection..
9 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.. 9 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..
10 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('button') does not support selection.. 10 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('button') does not support selection..
11 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('button') does not support selection.. 11 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('button') does not support selection..
12 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n. 12 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n.
13 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('che ckbox') does not support selection.. 13 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('che ckbox') does not support selection..
14 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('ch eckbox') does not support selection.. 14 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('ch eckbox') does not support selection..
15 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('checkbo x') does not support selection.. 15 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('checkbo x') does not support selection..
16 PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('checkb ox') does not support selection.. 16 PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the 'selectionEnd' property on 'HTMLInputElement': The input element's type ('checkb ox') does not support selection..
17 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('checkbox') does not support selection.. 17 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('checkbox') does not support selection..
18 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('checkbox') does not support selection.. 18 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('checkbox') does not support selection..
19 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n. 19 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n.
20 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('fil e') does not support selection..
21 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('fi le') does not support selection..
22 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('file') does not support selection..
23 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..
24 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('file') does not support selection..
25 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('file') does not support selection..
26 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n.
27 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('hid den') does not support selection.. 20 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('hid den') does not support selection..
28 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('hi dden') does not support selection.. 21 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('hi dden') does not support selection..
29 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('hidden' ) does not support selection.. 22 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('hidden' ) does not support selection..
30 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.. 23 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..
31 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('hidden') does not support selection.. 24 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('hidden') does not support selection..
32 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('hidden') does not support selection.. 25 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('hidden') does not support selection..
33 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n. 26 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n.
34 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('ima ge') does not support selection.. 27 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('ima ge') does not support selection..
35 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('im age') does not support selection.. 28 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('im age') does not support selection..
36 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('image') does not support selection.. 29 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('image') does not support selection..
(...skipping 22 matching lines...) Expand all
59 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('reset') does not support selection.. 52 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('reset') does not support selection..
60 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('reset') does not support selection.. 53 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('reset') does not support selection..
61 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n. 54 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n.
62 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('sub mit') does not support selection.. 55 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('sub mit') does not support selection..
63 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('su bmit') does not support selection.. 56 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('su bmit') does not support selection..
64 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('submit' ) does not support selection.. 57 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('submit' ) does not support selection..
65 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.. 58 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..
66 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('submit') does not support selection.. 59 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('submit') does not support selection..
67 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('submit') does not support selection.. 60 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('submit') does not support selection..
68 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n. 61 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n.
69 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('ema il') does not support selection..
70 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('em ail') does not support selection..
71 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('email') does not support selection..
72 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..
73 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('email') does not support selection..
74 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('email') does not support selection..
75 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n.
76 PASS test.selectionStart threw exception InvalidStateError: Failed to read the ' selectionStart' property from 'HTMLInputElement': The input element's type ('num ber') does not support selection..
77 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th e 'selectionStart' property on 'HTMLInputElement': The input element's type ('nu mber') does not support selection..
78 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se lectionEnd' property from 'HTMLInputElement': The input element's type ('number' ) does not support selection..
79 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..
80 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t he 'selectionDirection' property from 'HTMLInputElement': The input element's ty pe ('number') does not support selection..
81 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se t the 'selectionDirection' property on 'HTMLInputElement': The input element's t ype ('number') does not support selection..
82 PASS test.selectionRange() threw exception TypeError: undefined is not a functio n.
83 PASS successfullyParsed is true 62 PASS successfullyParsed is true
84 63
85 TEST COMPLETE 64 TEST COMPLETE
86 65
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/selection-wrongtype.html ('k') | LayoutTests/fast/forms/setrangetext.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698