OLD | NEW |
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.. |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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.. | 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.. | 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. | 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.. | 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.. | 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.. | 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.. | 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.. | 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.. | 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. | 82 PASS test.selectionRange() threw exception TypeError: undefined is not a functio
n. |
| 83 PASS test.selectionStart threw exception InvalidStateError: Failed to read the '
selectionStart' property from 'HTMLInputElement': The input element's type ('dat
e') does not support selection.. |
| 84 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th
e 'selectionStart' property on 'HTMLInputElement': The input element's type ('da
te') does not support selection.. |
| 85 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se
lectionEnd' property from 'HTMLInputElement': The input element's type ('date')
does not support selection.. |
| 86 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.. |
| 87 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t
he 'selectionDirection' property from 'HTMLInputElement': The input element's ty
pe ('date') does not support selection.. |
| 88 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se
t the 'selectionDirection' property on 'HTMLInputElement': The input element's t
ype ('date') does not support selection.. |
| 89 PASS test.selectionRange() threw exception TypeError: undefined is not a functio
n. |
| 90 PASS test.selectionStart threw exception InvalidStateError: Failed to read the '
selectionStart' property from 'HTMLInputElement': The input element's type ('tim
e') does not support selection.. |
| 91 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th
e 'selectionStart' property on 'HTMLInputElement': The input element's type ('ti
me') does not support selection.. |
| 92 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se
lectionEnd' property from 'HTMLInputElement': The input element's type ('time')
does not support selection.. |
| 93 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.. |
| 94 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t
he 'selectionDirection' property from 'HTMLInputElement': The input element's ty
pe ('time') does not support selection.. |
| 95 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se
t the 'selectionDirection' property on 'HTMLInputElement': The input element's t
ype ('time') does not support selection.. |
| 96 PASS test.selectionRange() threw exception TypeError: undefined is not a functio
n. |
| 97 PASS test.selectionStart threw exception InvalidStateError: Failed to read the '
selectionStart' property from 'HTMLInputElement': The input element's type ('mon
th') does not support selection.. |
| 98 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th
e 'selectionStart' property on 'HTMLInputElement': The input element's type ('mo
nth') does not support selection.. |
| 99 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se
lectionEnd' property from 'HTMLInputElement': The input element's type ('month')
does not support selection.. |
| 100 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.. |
| 101 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t
he 'selectionDirection' property from 'HTMLInputElement': The input element's ty
pe ('month') does not support selection.. |
| 102 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se
t the 'selectionDirection' property on 'HTMLInputElement': The input element's t
ype ('month') does not support selection.. |
| 103 PASS test.selectionRange() threw exception TypeError: undefined is not a functio
n. |
| 104 PASS test.selectionStart threw exception InvalidStateError: Failed to read the '
selectionStart' property from 'HTMLInputElement': The input element's type ('wee
k') does not support selection.. |
| 105 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th
e 'selectionStart' property on 'HTMLInputElement': The input element's type ('we
ek') does not support selection.. |
| 106 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se
lectionEnd' property from 'HTMLInputElement': The input element's type ('week')
does not support selection.. |
| 107 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.. |
| 108 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t
he 'selectionDirection' property from 'HTMLInputElement': The input element's ty
pe ('week') does not support selection.. |
| 109 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se
t the 'selectionDirection' property on 'HTMLInputElement': The input element's t
ype ('week') does not support selection.. |
| 110 PASS test.selectionRange() threw exception TypeError: undefined is not a functio
n. |
| 111 PASS test.selectionStart threw exception InvalidStateError: Failed to read the '
selectionStart' property from 'HTMLInputElement': The input element's type ('dat
etime-local') does not support selection.. |
| 112 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th
e 'selectionStart' property on 'HTMLInputElement': The input element's type ('da
tetime-local') does not support selection.. |
| 113 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se
lectionEnd' property from 'HTMLInputElement': The input element's type ('datetim
e-local') does not support selection.. |
| 114 PASS test.selectionEnd = 0 threw exception InvalidStateError: Failed to set the
'selectionEnd' property on 'HTMLInputElement': The input element's type ('dateti
me-local') does not support selection.. |
| 115 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t
he 'selectionDirection' property from 'HTMLInputElement': The input element's ty
pe ('datetime-local') does not support selection.. |
| 116 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se
t the 'selectionDirection' property on 'HTMLInputElement': The input element's t
ype ('datetime-local') does not support selection.. |
| 117 PASS test.selectionRange() threw exception TypeError: undefined is not a functio
n. |
| 118 PASS test.selectionStart threw exception InvalidStateError: Failed to read the '
selectionStart' property from 'HTMLInputElement': The input element's type ('col
or') does not support selection.. |
| 119 PASS test.selectionStart = 0 threw exception InvalidStateError: Failed to set th
e 'selectionStart' property on 'HTMLInputElement': The input element's type ('co
lor') does not support selection.. |
| 120 PASS test.selectionEnd threw exception InvalidStateError: Failed to read the 'se
lectionEnd' property from 'HTMLInputElement': The input element's type ('color')
does not support selection.. |
| 121 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.. |
| 122 PASS test.selectionDirection threw exception InvalidStateError: Failed to read t
he 'selectionDirection' property from 'HTMLInputElement': The input element's ty
pe ('color') does not support selection.. |
| 123 PASS test.selectionDirection = 0 threw exception InvalidStateError: Failed to se
t the 'selectionDirection' property on 'HTMLInputElement': The input element's t
ype ('color') does not support selection.. |
| 124 PASS test.selectionRange() threw exception TypeError: undefined is not a functio
n. |
83 PASS successfullyParsed is true | 125 PASS successfullyParsed is true |
84 | 126 |
85 TEST COMPLETE | 127 TEST COMPLETE |
86 | 128 |
OLD | NEW |