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 Error: InvalidStateError: DOM Exception
11. | 6 PASS test.selectionStart threw exception InvalidStateError: An attempt was made
to use an object that is not, or is no longer, usable.. |
7 PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Excep
tion 11. | 7 PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
8 PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 1
1. | 8 PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to
use an object that is not, or is no longer, usable.. |
9 PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Excepti
on 11. | 9 PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was mad
e to use an object that is not, or is no longer, usable.. |
10 PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Excep
tion 11. | 10 PASS test.selectionDirection threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
11 PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM E
xception 11. | 11 PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt w
as made to use an object that is not, or is no longer, usable.. |
12 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. | 12 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. |
13 PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception
11. | 13 PASS test.selectionStart threw exception InvalidStateError: An attempt was made
to use an object that is not, or is no longer, usable.. |
14 PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Excep
tion 11. | 14 PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
15 PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 1
1. | 15 PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to
use an object that is not, or is no longer, usable.. |
16 PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Excepti
on 11. | 16 PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was mad
e to use an object that is not, or is no longer, usable.. |
17 PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Excep
tion 11. | 17 PASS test.selectionDirection threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
18 PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM E
xception 11. | 18 PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt w
as made to use an object that is not, or is no longer, usable.. |
19 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. | 19 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. |
20 PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception
11. | 20 PASS test.selectionStart threw exception InvalidStateError: An attempt was made
to use an object that is not, or is no longer, usable.. |
21 PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Excep
tion 11. | 21 PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
22 PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 1
1. | 22 PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to
use an object that is not, or is no longer, usable.. |
23 PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Excepti
on 11. | 23 PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was mad
e to use an object that is not, or is no longer, usable.. |
24 PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Excep
tion 11. | 24 PASS test.selectionDirection threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
25 PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM E
xception 11. | 25 PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt w
as made to use an object that is not, or is no longer, usable.. |
26 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. | 26 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. |
27 PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception
11. | 27 PASS test.selectionStart threw exception InvalidStateError: An attempt was made
to use an object that is not, or is no longer, usable.. |
28 PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Excep
tion 11. | 28 PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
29 PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 1
1. | 29 PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to
use an object that is not, or is no longer, usable.. |
30 PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Excepti
on 11. | 30 PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was mad
e to use an object that is not, or is no longer, usable.. |
31 PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Excep
tion 11. | 31 PASS test.selectionDirection threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
32 PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM E
xception 11. | 32 PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt w
as made to use an object that is not, or is no longer, usable.. |
33 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. | 33 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. |
34 PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception
11. | 34 PASS test.selectionStart threw exception InvalidStateError: An attempt was made
to use an object that is not, or is no longer, usable.. |
35 PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Excep
tion 11. | 35 PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
36 PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 1
1. | 36 PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to
use an object that is not, or is no longer, usable.. |
37 PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Excepti
on 11. | 37 PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was mad
e to use an object that is not, or is no longer, usable.. |
38 PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Excep
tion 11. | 38 PASS test.selectionDirection threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
39 PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM E
xception 11. | 39 PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt w
as made to use an object that is not, or is no longer, usable.. |
40 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. | 40 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. |
41 PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception
11. | 41 PASS test.selectionStart threw exception InvalidStateError: An attempt was made
to use an object that is not, or is no longer, usable.. |
42 PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Excep
tion 11. | 42 PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
43 PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 1
1. | 43 PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to
use an object that is not, or is no longer, usable.. |
44 PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Excepti
on 11. | 44 PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was mad
e to use an object that is not, or is no longer, usable.. |
45 PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Excep
tion 11. | 45 PASS test.selectionDirection threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
46 PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM E
xception 11. | 46 PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt w
as made to use an object that is not, or is no longer, usable.. |
47 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. | 47 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. |
48 PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception
11. | 48 PASS test.selectionStart threw exception InvalidStateError: An attempt was made
to use an object that is not, or is no longer, usable.. |
49 PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Excep
tion 11. | 49 PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
50 PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 1
1. | 50 PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to
use an object that is not, or is no longer, usable.. |
51 PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Excepti
on 11. | 51 PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was mad
e to use an object that is not, or is no longer, usable.. |
52 PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Excep
tion 11. | 52 PASS test.selectionDirection threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
53 PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM E
xception 11. | 53 PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt w
as made to use an object that is not, or is no longer, usable.. |
54 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. | 54 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. |
55 PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception
11. | 55 PASS test.selectionStart threw exception InvalidStateError: An attempt was made
to use an object that is not, or is no longer, usable.. |
56 PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Excep
tion 11. | 56 PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
57 PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 1
1. | 57 PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to
use an object that is not, or is no longer, usable.. |
58 PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Excepti
on 11. | 58 PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was mad
e to use an object that is not, or is no longer, usable.. |
59 PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Excep
tion 11. | 59 PASS test.selectionDirection threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
60 PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM E
xception 11. | 60 PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt w
as made to use an object that is not, or is no longer, usable.. |
61 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. | 61 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. |
62 PASS test.selectionStart threw exception Error: InvalidStateError: DOM Exception
11. | 62 PASS test.selectionStart threw exception InvalidStateError: An attempt was made
to use an object that is not, or is no longer, usable.. |
63 PASS test.selectionStart = 0 threw exception Error: InvalidStateError: DOM Excep
tion 11. | 63 PASS test.selectionStart = 0 threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
64 PASS test.selectionEnd threw exception Error: InvalidStateError: DOM Exception 1
1. | 64 PASS test.selectionEnd threw exception InvalidStateError: An attempt was made to
use an object that is not, or is no longer, usable.. |
65 PASS test.selectionEnd = 0 threw exception Error: InvalidStateError: DOM Excepti
on 11. | 65 PASS test.selectionEnd = 0 threw exception InvalidStateError: An attempt was mad
e to use an object that is not, or is no longer, usable.. |
66 PASS test.selectionDirection threw exception Error: InvalidStateError: DOM Excep
tion 11. | 66 PASS test.selectionDirection threw exception InvalidStateError: An attempt was m
ade to use an object that is not, or is no longer, usable.. |
67 PASS test.selectionDirection = 0 threw exception Error: InvalidStateError: DOM E
xception 11. | 67 PASS test.selectionDirection = 0 threw exception InvalidStateError: An attempt w
as made to use an object that is not, or is no longer, usable.. |
68 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. | 68 PASS test.selectionRange() threw exception TypeError: Object #<HTMLInputElement>
has no method 'selectionRange'. |
69 PASS successfullyParsed is true | 69 PASS successfullyParsed is true |
70 | 70 |
71 TEST COMPLETE | 71 TEST COMPLETE |
72 | 72 |
OLD | NEW |