OLD | NEW |
1 This tests the constructor for the PointerEvent DOM class. | 1 This tests the constructor for the PointerEvent DOM class. |
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 --- tests for intrinsic attributes --- | 6 --- tests for intrinsic attributes --- |
7 -- no init -- | 7 -- no init -- |
8 FAIL new PointerEvent('eventType').pointerId should be 0. Threw exception Refere
nceError: PointerEvent is not defined | 8 PASS new PointerEvent('eventType').pointerId is 0 |
9 -- init with valid long values -- | 9 -- init with valid long values -- |
10 FAIL new PointerEvent('eventType', { pointerId: 123 }).pointerId should be 123.
Threw exception ReferenceError: PointerEvent is not defined | 10 PASS new PointerEvent('eventType', { pointerId: 123 }).pointerId is 123 |
11 FAIL new PointerEvent('eventType', { pointerId: -123 }).pointerId should be -123
. Threw exception ReferenceError: PointerEvent is not defined | 11 PASS new PointerEvent('eventType', { pointerId: -123 }).pointerId is -123 |
12 FAIL new PointerEvent('eventType', { pointerId: 2147483647 }).pointerId should b
e 2147483647. Threw exception ReferenceError: PointerEvent is not defined | 12 PASS new PointerEvent('eventType', { pointerId: 2147483647 }).pointerId is 21474
83647 |
13 FAIL new PointerEvent('eventType', { pointerId: -2147483648 }).pointerId should
be -2147483648. Threw exception ReferenceError: PointerEvent is not defined | 13 PASS new PointerEvent('eventType', { pointerId: -2147483648 }).pointerId is -214
7483648 |
14 -- init with non-long values -- | 14 -- init with non-long values -- |
15 FAIL new PointerEvent('eventType', { pointerId: 18446744073709551615 }).pointerI
d should be 0. Threw exception ReferenceError: PointerEvent is not defined | 15 PASS new PointerEvent('eventType', { pointerId: 18446744073709551615 }).pointerI
d is 0 |
16 FAIL new PointerEvent('eventType', {pointerId: 123.45 }).pointerId should be 123
. Threw exception ReferenceError: PointerEvent is not defined | 16 PASS new PointerEvent('eventType', {pointerId: 123.45 }).pointerId is 123 |
17 FAIL new PointerEvent('eventType', { pointerId: '123abc' }).pointerId should be
0. Threw exception ReferenceError: PointerEvent is not defined | 17 PASS new PointerEvent('eventType', { pointerId: '123abc' }).pointerId is 0 |
18 FAIL new PointerEvent('eventType', { pointerId: 'dummy' }).pointerId should be 0
. Threw exception ReferenceError: PointerEvent is not defined | 18 PASS new PointerEvent('eventType', { pointerId: 'dummy' }).pointerId is 0 |
19 FAIL new PointerEvent('eventType', { pointerId: NaN }).pointerId should be 0. Th
rew exception ReferenceError: PointerEvent is not defined | 19 PASS new PointerEvent('eventType', { pointerId: NaN }).pointerId is 0 |
20 FAIL new PointerEvent('eventType', { pointerId: null }).pointerId should be 0. T
hrew exception ReferenceError: PointerEvent is not defined | 20 PASS new PointerEvent('eventType', { pointerId: null }).pointerId is 0 |
21 FAIL new PointerEvent('eventType', { pointerId: undefined }).pointerId should be
0. Threw exception ReferenceError: PointerEvent is not defined | 21 PASS new PointerEvent('eventType', { pointerId: undefined }).pointerId is 0 |
22 FAIL new PointerEvent('eventType', { pointerId: [] }).pointerId should be 0. Thr
ew exception ReferenceError: PointerEvent is not defined | 22 PASS new PointerEvent('eventType', { pointerId: [] }).pointerId is 0 |
23 FAIL new PointerEvent('eventType', { pointerId: [12] }).pointerId should be 12.
Threw exception ReferenceError: PointerEvent is not defined | 23 PASS new PointerEvent('eventType', { pointerId: [12] }).pointerId is 12 |
24 FAIL new PointerEvent('eventType', { pointerId: [12, 34] }).pointerId should be
0. Threw exception ReferenceError: PointerEvent is not defined | 24 PASS new PointerEvent('eventType', { pointerId: [12, 34] }).pointerId is 0 |
25 FAIL new PointerEvent('eventType', { pointerId: {} }).pointerId should be 0. Thr
ew exception ReferenceError: PointerEvent is not defined | 25 PASS new PointerEvent('eventType', { pointerId: {} }).pointerId is 0 |
26 FAIL new PointerEvent('eventType', { pointerId: {abc:1} }).pointerId should be 0
. Threw exception ReferenceError: PointerEvent is not defined | 26 PASS new PointerEvent('eventType', { pointerId: {abc:1} }).pointerId is 0 |
27 FAIL new PointerEvent('eventType', { pointerId: {} }).pointerId should be 0. Thr
ew exception ReferenceError: PointerEvent is not defined | 27 PASS new PointerEvent('eventType', { pointerId: {} }).pointerId is 0 |
28 FAIL new PointerEvent('eventType', { pointerId: {valueOf: function () { return 1
23; }} }).pointerId should be 123. Threw exception ReferenceError: PointerEvent
is not defined | 28 PASS new PointerEvent('eventType', { pointerId: {valueOf: function () { return 1
23; }} }).pointerId is 123 |
29 -- no init -- | 29 -- no init -- |
30 FAIL new PointerEvent('eventType').tiltX should be 0. Threw exception ReferenceE
rror: PointerEvent is not defined | 30 PASS new PointerEvent('eventType').tiltX is 0 |
31 -- init with valid long values -- | 31 -- init with valid long values -- |
32 FAIL new PointerEvent('eventType', { tiltX: 123 }).tiltX should be 123. Threw ex
ception ReferenceError: PointerEvent is not defined | 32 PASS new PointerEvent('eventType', { tiltX: 123 }).tiltX is 123 |
33 FAIL new PointerEvent('eventType', { tiltX: -123 }).tiltX should be -123. Threw
exception ReferenceError: PointerEvent is not defined | 33 PASS new PointerEvent('eventType', { tiltX: -123 }).tiltX is -123 |
34 FAIL new PointerEvent('eventType', { tiltX: 2147483647 }).tiltX should be 214748
3647. Threw exception ReferenceError: PointerEvent is not defined | 34 PASS new PointerEvent('eventType', { tiltX: 2147483647 }).tiltX is 2147483647 |
35 FAIL new PointerEvent('eventType', { tiltX: -2147483648 }).tiltX should be -2147
483648. Threw exception ReferenceError: PointerEvent is not defined | 35 PASS new PointerEvent('eventType', { tiltX: -2147483648 }).tiltX is -2147483648 |
36 -- init with non-long values -- | 36 -- init with non-long values -- |
37 FAIL new PointerEvent('eventType', { tiltX: 18446744073709551615 }).tiltX should
be 0. Threw exception ReferenceError: PointerEvent is not defined | 37 PASS new PointerEvent('eventType', { tiltX: 18446744073709551615 }).tiltX is 0 |
38 FAIL new PointerEvent('eventType', {tiltX: 123.45 }).tiltX should be 123. Threw
exception ReferenceError: PointerEvent is not defined | 38 PASS new PointerEvent('eventType', {tiltX: 123.45 }).tiltX is 123 |
39 FAIL new PointerEvent('eventType', { tiltX: '123abc' }).tiltX should be 0. Threw
exception ReferenceError: PointerEvent is not defined | 39 PASS new PointerEvent('eventType', { tiltX: '123abc' }).tiltX is 0 |
40 FAIL new PointerEvent('eventType', { tiltX: 'dummy' }).tiltX should be 0. Threw
exception ReferenceError: PointerEvent is not defined | 40 PASS new PointerEvent('eventType', { tiltX: 'dummy' }).tiltX is 0 |
41 FAIL new PointerEvent('eventType', { tiltX: NaN }).tiltX should be 0. Threw exce
ption ReferenceError: PointerEvent is not defined | 41 PASS new PointerEvent('eventType', { tiltX: NaN }).tiltX is 0 |
42 FAIL new PointerEvent('eventType', { tiltX: null }).tiltX should be 0. Threw exc
eption ReferenceError: PointerEvent is not defined | 42 PASS new PointerEvent('eventType', { tiltX: null }).tiltX is 0 |
43 FAIL new PointerEvent('eventType', { tiltX: undefined }).tiltX should be 0. Thre
w exception ReferenceError: PointerEvent is not defined | 43 PASS new PointerEvent('eventType', { tiltX: undefined }).tiltX is 0 |
44 FAIL new PointerEvent('eventType', { tiltX: [] }).tiltX should be 0. Threw excep
tion ReferenceError: PointerEvent is not defined | 44 PASS new PointerEvent('eventType', { tiltX: [] }).tiltX is 0 |
45 FAIL new PointerEvent('eventType', { tiltX: [12] }).tiltX should be 12. Threw ex
ception ReferenceError: PointerEvent is not defined | 45 PASS new PointerEvent('eventType', { tiltX: [12] }).tiltX is 12 |
46 FAIL new PointerEvent('eventType', { tiltX: [12, 34] }).tiltX should be 0. Threw
exception ReferenceError: PointerEvent is not defined | 46 PASS new PointerEvent('eventType', { tiltX: [12, 34] }).tiltX is 0 |
47 FAIL new PointerEvent('eventType', { tiltX: {} }).tiltX should be 0. Threw excep
tion ReferenceError: PointerEvent is not defined | 47 PASS new PointerEvent('eventType', { tiltX: {} }).tiltX is 0 |
48 FAIL new PointerEvent('eventType', { tiltX: {abc:1} }).tiltX should be 0. Threw
exception ReferenceError: PointerEvent is not defined | 48 PASS new PointerEvent('eventType', { tiltX: {abc:1} }).tiltX is 0 |
49 FAIL new PointerEvent('eventType', { tiltX: {} }).tiltX should be 0. Threw excep
tion ReferenceError: PointerEvent is not defined | 49 PASS new PointerEvent('eventType', { tiltX: {} }).tiltX is 0 |
50 FAIL new PointerEvent('eventType', { tiltX: {valueOf: function () { return 123;
}} }).tiltX should be 123. Threw exception ReferenceError: PointerEvent is not d
efined | 50 PASS new PointerEvent('eventType', { tiltX: {valueOf: function () { return 123;
}} }).tiltX is 123 |
51 -- no init -- | 51 -- no init -- |
52 FAIL new PointerEvent('eventType').tiltY should be 0. Threw exception ReferenceE
rror: PointerEvent is not defined | 52 PASS new PointerEvent('eventType').tiltY is 0 |
53 -- init with valid long values -- | 53 -- init with valid long values -- |
54 FAIL new PointerEvent('eventType', { tiltY: 123 }).tiltY should be 123. Threw ex
ception ReferenceError: PointerEvent is not defined | 54 PASS new PointerEvent('eventType', { tiltY: 123 }).tiltY is 123 |
55 FAIL new PointerEvent('eventType', { tiltY: -123 }).tiltY should be -123. Threw
exception ReferenceError: PointerEvent is not defined | 55 PASS new PointerEvent('eventType', { tiltY: -123 }).tiltY is -123 |
56 FAIL new PointerEvent('eventType', { tiltY: 2147483647 }).tiltY should be 214748
3647. Threw exception ReferenceError: PointerEvent is not defined | 56 PASS new PointerEvent('eventType', { tiltY: 2147483647 }).tiltY is 2147483647 |
57 FAIL new PointerEvent('eventType', { tiltY: -2147483648 }).tiltY should be -2147
483648. Threw exception ReferenceError: PointerEvent is not defined | 57 PASS new PointerEvent('eventType', { tiltY: -2147483648 }).tiltY is -2147483648 |
58 -- init with non-long values -- | 58 -- init with non-long values -- |
59 FAIL new PointerEvent('eventType', { tiltY: 18446744073709551615 }).tiltY should
be 0. Threw exception ReferenceError: PointerEvent is not defined | 59 PASS new PointerEvent('eventType', { tiltY: 18446744073709551615 }).tiltY is 0 |
60 FAIL new PointerEvent('eventType', {tiltY: 123.45 }).tiltY should be 123. Threw
exception ReferenceError: PointerEvent is not defined | 60 PASS new PointerEvent('eventType', {tiltY: 123.45 }).tiltY is 123 |
61 FAIL new PointerEvent('eventType', { tiltY: '123abc' }).tiltY should be 0. Threw
exception ReferenceError: PointerEvent is not defined | 61 PASS new PointerEvent('eventType', { tiltY: '123abc' }).tiltY is 0 |
62 FAIL new PointerEvent('eventType', { tiltY: 'dummy' }).tiltY should be 0. Threw
exception ReferenceError: PointerEvent is not defined | 62 PASS new PointerEvent('eventType', { tiltY: 'dummy' }).tiltY is 0 |
63 FAIL new PointerEvent('eventType', { tiltY: NaN }).tiltY should be 0. Threw exce
ption ReferenceError: PointerEvent is not defined | 63 PASS new PointerEvent('eventType', { tiltY: NaN }).tiltY is 0 |
64 FAIL new PointerEvent('eventType', { tiltY: null }).tiltY should be 0. Threw exc
eption ReferenceError: PointerEvent is not defined | 64 PASS new PointerEvent('eventType', { tiltY: null }).tiltY is 0 |
65 FAIL new PointerEvent('eventType', { tiltY: undefined }).tiltY should be 0. Thre
w exception ReferenceError: PointerEvent is not defined | 65 PASS new PointerEvent('eventType', { tiltY: undefined }).tiltY is 0 |
66 FAIL new PointerEvent('eventType', { tiltY: [] }).tiltY should be 0. Threw excep
tion ReferenceError: PointerEvent is not defined | 66 PASS new PointerEvent('eventType', { tiltY: [] }).tiltY is 0 |
67 FAIL new PointerEvent('eventType', { tiltY: [12] }).tiltY should be 12. Threw ex
ception ReferenceError: PointerEvent is not defined | 67 PASS new PointerEvent('eventType', { tiltY: [12] }).tiltY is 12 |
68 FAIL new PointerEvent('eventType', { tiltY: [12, 34] }).tiltY should be 0. Threw
exception ReferenceError: PointerEvent is not defined | 68 PASS new PointerEvent('eventType', { tiltY: [12, 34] }).tiltY is 0 |
69 FAIL new PointerEvent('eventType', { tiltY: {} }).tiltY should be 0. Threw excep
tion ReferenceError: PointerEvent is not defined | 69 PASS new PointerEvent('eventType', { tiltY: {} }).tiltY is 0 |
70 FAIL new PointerEvent('eventType', { tiltY: {abc:1} }).tiltY should be 0. Threw
exception ReferenceError: PointerEvent is not defined | 70 PASS new PointerEvent('eventType', { tiltY: {abc:1} }).tiltY is 0 |
71 FAIL new PointerEvent('eventType', { tiltY: {} }).tiltY should be 0. Threw excep
tion ReferenceError: PointerEvent is not defined | 71 PASS new PointerEvent('eventType', { tiltY: {} }).tiltY is 0 |
72 FAIL new PointerEvent('eventType', { tiltY: {valueOf: function () { return 123;
}} }).tiltY should be 123. Threw exception ReferenceError: PointerEvent is not d
efined | 72 PASS new PointerEvent('eventType', { tiltY: {valueOf: function () { return 123;
}} }).tiltY is 123 |
73 -- no init -- | 73 -- no init -- |
74 FAIL new PointerEvent('eventType').width should be 1. Threw exception ReferenceE
rror: PointerEvent is not defined | 74 PASS new PointerEvent('eventType').width is 1 |
75 -- init with valid float/double values -- | 75 -- init with valid float/double values -- |
76 FAIL new PointerEvent('eventType', { width: 123 }).width should be 123. Threw ex
ception ReferenceError: PointerEvent is not defined | 76 PASS new PointerEvent('eventType', { width: 123 }).width is 123 |
77 FAIL new PointerEvent('eventType', { width: -123 }).width should be -123. Threw
exception ReferenceError: PointerEvent is not defined | 77 PASS new PointerEvent('eventType', { width: -123 }).width is -123 |
78 FAIL new PointerEvent('eventType', { width: 123.45 }).width should be within 0.0
0001 of 123.45. Threw exception ReferenceError: PointerEvent is not defined | 78 PASS new PointerEvent('eventType', { width: 123.45 }).width is within 0.00001 of
123.45 |
79 FAIL new PointerEvent('eventType', { width: -123.45 }).width should be within 0.
00001 of -123.45. Threw exception ReferenceError: PointerEvent is not defined | 79 PASS new PointerEvent('eventType', { width: -123.45 }).width is within 0.00001 o
f -123.45 |
80 FAIL new PointerEvent('eventType', { width: 1.23e5 }).width should be within 0.0
0001 of 123000. Threw exception ReferenceError: PointerEvent is not defined | 80 PASS new PointerEvent('eventType', { width: 1.23e5 }).width is within 0.00001 of
123000 |
81 FAIL new PointerEvent('eventType', { width: -1.2e-3 }).width should be within 0.
00001 of -0.0012. Threw exception ReferenceError: PointerEvent is not defined | 81 PASS new PointerEvent('eventType', { width: -1.2e-3 }).width is within 0.00001 o
f -0.0012 |
82 -- init with non-float/double values -- | 82 -- init with non-float/double values -- |
83 PASS new PointerEvent('eventType', { width: '123abc' }).width threw exception Re
ferenceError: PointerEvent is not defined. | 83 PASS new PointerEvent('eventType', { width: '123abc' }).width threw exception Ty
peError: Failed to construct 'PointerEvent': The provided double value is non-fi
nite.. |
84 PASS new PointerEvent('eventType', { width: 'dummy' }).width threw exception Ref
erenceError: PointerEvent is not defined. | 84 PASS new PointerEvent('eventType', { width: 'dummy' }).width threw exception Typ
eError: Failed to construct 'PointerEvent': The provided double value is non-fin
ite.. |
85 PASS new PointerEvent('eventType', { width: NaN }).width threw exception Referen
ceError: PointerEvent is not defined. | 85 PASS new PointerEvent('eventType', { width: NaN }).width threw exception TypeErr
or: Failed to construct 'PointerEvent': The provided double value is non-finite.
. |
86 FAIL new PointerEvent('eventType', { width: null }).width should be 0. Threw exc
eption ReferenceError: PointerEvent is not defined | 86 PASS new PointerEvent('eventType', { width: null }).width is 0 |
87 FAIL new PointerEvent('eventType', { width: undefined }).width should be 1. Thre
w exception ReferenceError: PointerEvent is not defined | 87 PASS new PointerEvent('eventType', { width: undefined }).width is 1 |
88 FAIL new PointerEvent('eventType', { width: [] }).width should be 0. Threw excep
tion ReferenceError: PointerEvent is not defined | 88 PASS new PointerEvent('eventType', { width: [] }).width is 0 |
89 FAIL new PointerEvent('eventType', { width: [12] }).width should be 12. Threw ex
ception ReferenceError: PointerEvent is not defined | 89 PASS new PointerEvent('eventType', { width: [12] }).width is 12 |
90 PASS new PointerEvent('eventType', { width: [12, 34] }).width threw exception Re
ferenceError: PointerEvent is not defined. | 90 PASS new PointerEvent('eventType', { width: [12, 34] }).width threw exception Ty
peError: Failed to construct 'PointerEvent': The provided double value is non-fi
nite.. |
91 PASS new PointerEvent('eventType', { width: {} }).width threw exception Referenc
eError: PointerEvent is not defined. | 91 PASS new PointerEvent('eventType', { width: {} }).width threw exception TypeErro
r: Failed to construct 'PointerEvent': The provided double value is non-finite.. |
92 PASS new PointerEvent('eventType', { width: {abc:1} }).width threw exception Ref
erenceError: PointerEvent is not defined. | 92 PASS new PointerEvent('eventType', { width: {abc:1} }).width threw exception Typ
eError: Failed to construct 'PointerEvent': The provided double value is non-fin
ite.. |
93 PASS new PointerEvent('eventType', { width: {} }).width threw exception Referenc
eError: PointerEvent is not defined. | 93 PASS new PointerEvent('eventType', { width: {} }).width threw exception TypeErro
r: Failed to construct 'PointerEvent': The provided double value is non-finite.. |
94 FAIL new PointerEvent('eventType', { width: {valueOf: function () { return 123;
}} }).width should be 123. Threw exception ReferenceError: PointerEvent is not d
efined | 94 PASS new PointerEvent('eventType', { width: {valueOf: function () { return 123;
}} }).width is 123 |
95 -- no init -- | 95 -- no init -- |
96 FAIL new PointerEvent('eventType').height should be 1. Threw exception Reference
Error: PointerEvent is not defined | 96 PASS new PointerEvent('eventType').height is 1 |
97 -- init with valid float/double values -- | 97 -- init with valid float/double values -- |
98 FAIL new PointerEvent('eventType', { height: 123 }).height should be 123. Threw
exception ReferenceError: PointerEvent is not defined | 98 PASS new PointerEvent('eventType', { height: 123 }).height is 123 |
99 FAIL new PointerEvent('eventType', { height: -123 }).height should be -123. Thre
w exception ReferenceError: PointerEvent is not defined | 99 PASS new PointerEvent('eventType', { height: -123 }).height is -123 |
100 FAIL new PointerEvent('eventType', { height: 123.45 }).height should be within 0
.00001 of 123.45. Threw exception ReferenceError: PointerEvent is not defined | 100 PASS new PointerEvent('eventType', { height: 123.45 }).height is within 0.00001
of 123.45 |
101 FAIL new PointerEvent('eventType', { height: -123.45 }).height should be within
0.00001 of -123.45. Threw exception ReferenceError: PointerEvent is not defined | 101 PASS new PointerEvent('eventType', { height: -123.45 }).height is within 0.00001
of -123.45 |
102 FAIL new PointerEvent('eventType', { height: 1.23e5 }).height should be within 0
.00001 of 123000. Threw exception ReferenceError: PointerEvent is not defined | 102 PASS new PointerEvent('eventType', { height: 1.23e5 }).height is within 0.00001
of 123000 |
103 FAIL new PointerEvent('eventType', { height: -1.2e-3 }).height should be within
0.00001 of -0.0012. Threw exception ReferenceError: PointerEvent is not defined | 103 PASS new PointerEvent('eventType', { height: -1.2e-3 }).height is within 0.00001
of -0.0012 |
104 -- init with non-float/double values -- | 104 -- init with non-float/double values -- |
105 PASS new PointerEvent('eventType', { height: '123abc' }).height threw exception
ReferenceError: PointerEvent is not defined. | 105 PASS new PointerEvent('eventType', { height: '123abc' }).height threw exception
TypeError: Failed to construct 'PointerEvent': The provided double value is non-
finite.. |
106 PASS new PointerEvent('eventType', { height: 'dummy' }).height threw exception R
eferenceError: PointerEvent is not defined. | 106 PASS new PointerEvent('eventType', { height: 'dummy' }).height threw exception T
ypeError: Failed to construct 'PointerEvent': The provided double value is non-f
inite.. |
107 PASS new PointerEvent('eventType', { height: NaN }).height threw exception Refer
enceError: PointerEvent is not defined. | 107 PASS new PointerEvent('eventType', { height: NaN }).height threw exception TypeE
rror: Failed to construct 'PointerEvent': The provided double value is non-finit
e.. |
108 FAIL new PointerEvent('eventType', { height: null }).height should be 0. Threw e
xception ReferenceError: PointerEvent is not defined | 108 PASS new PointerEvent('eventType', { height: null }).height is 0 |
109 FAIL new PointerEvent('eventType', { height: undefined }).height should be 1. Th
rew exception ReferenceError: PointerEvent is not defined | 109 PASS new PointerEvent('eventType', { height: undefined }).height is 1 |
110 FAIL new PointerEvent('eventType', { height: [] }).height should be 0. Threw exc
eption ReferenceError: PointerEvent is not defined | 110 PASS new PointerEvent('eventType', { height: [] }).height is 0 |
111 FAIL new PointerEvent('eventType', { height: [12] }).height should be 12. Threw
exception ReferenceError: PointerEvent is not defined | 111 PASS new PointerEvent('eventType', { height: [12] }).height is 12 |
112 PASS new PointerEvent('eventType', { height: [12, 34] }).height threw exception
ReferenceError: PointerEvent is not defined. | 112 PASS new PointerEvent('eventType', { height: [12, 34] }).height threw exception
TypeError: Failed to construct 'PointerEvent': The provided double value is non-
finite.. |
113 PASS new PointerEvent('eventType', { height: {} }).height threw exception Refere
nceError: PointerEvent is not defined. | 113 PASS new PointerEvent('eventType', { height: {} }).height threw exception TypeEr
ror: Failed to construct 'PointerEvent': The provided double value is non-finite
.. |
114 PASS new PointerEvent('eventType', { height: {abc:1} }).height threw exception R
eferenceError: PointerEvent is not defined. | 114 PASS new PointerEvent('eventType', { height: {abc:1} }).height threw exception T
ypeError: Failed to construct 'PointerEvent': The provided double value is non-f
inite.. |
115 PASS new PointerEvent('eventType', { height: {} }).height threw exception Refere
nceError: PointerEvent is not defined. | 115 PASS new PointerEvent('eventType', { height: {} }).height threw exception TypeEr
ror: Failed to construct 'PointerEvent': The provided double value is non-finite
.. |
116 FAIL new PointerEvent('eventType', { height: {valueOf: function () { return 123;
}} }).height should be 123. Threw exception ReferenceError: PointerEvent is not
defined | 116 PASS new PointerEvent('eventType', { height: {valueOf: function () { return 123;
}} }).height is 123 |
117 -- no init -- | 117 -- no init -- |
118 FAIL new PointerEvent('eventType').pressure should be 0. Threw exception Referen
ceError: PointerEvent is not defined | 118 PASS new PointerEvent('eventType').pressure is 0 |
119 -- init with valid float/double values -- | 119 -- init with valid float/double values -- |
120 FAIL new PointerEvent('eventType', { pressure: 123 }).pressure should be 123. Th
rew exception ReferenceError: PointerEvent is not defined | 120 PASS new PointerEvent('eventType', { pressure: 123 }).pressure is 123 |
121 FAIL new PointerEvent('eventType', { pressure: -123 }).pressure should be -123.
Threw exception ReferenceError: PointerEvent is not defined | 121 PASS new PointerEvent('eventType', { pressure: -123 }).pressure is -123 |
122 FAIL new PointerEvent('eventType', { pressure: 123.45 }).pressure should be with
in 0.00001 of 123.45. Threw exception ReferenceError: PointerEvent is not define
d | 122 PASS new PointerEvent('eventType', { pressure: 123.45 }).pressure is within 0.00
001 of 123.45 |
123 FAIL new PointerEvent('eventType', { pressure: -123.45 }).pressure should be wit
hin 0.00001 of -123.45. Threw exception ReferenceError: PointerEvent is not defi
ned | 123 PASS new PointerEvent('eventType', { pressure: -123.45 }).pressure is within 0.0
0001 of -123.45 |
124 FAIL new PointerEvent('eventType', { pressure: 1.23e5 }).pressure should be with
in 0.00001 of 123000. Threw exception ReferenceError: PointerEvent is not define
d | 124 PASS new PointerEvent('eventType', { pressure: 1.23e5 }).pressure is within 0.00
001 of 123000 |
125 FAIL new PointerEvent('eventType', { pressure: -1.2e-3 }).pressure should be wit
hin 0.00001 of -0.0012. Threw exception ReferenceError: PointerEvent is not defi
ned | 125 PASS new PointerEvent('eventType', { pressure: -1.2e-3 }).pressure is within 0.0
0001 of -0.0012 |
126 -- init with non-float/double values -- | 126 -- init with non-float/double values -- |
127 PASS new PointerEvent('eventType', { pressure: '123abc' }).pressure threw except
ion ReferenceError: PointerEvent is not defined. | 127 PASS new PointerEvent('eventType', { pressure: '123abc' }).pressure threw except
ion TypeError: Failed to construct 'PointerEvent': The provided float value is n
on-finite.. |
128 PASS new PointerEvent('eventType', { pressure: 'dummy' }).pressure threw excepti
on ReferenceError: PointerEvent is not defined. | 128 PASS new PointerEvent('eventType', { pressure: 'dummy' }).pressure threw excepti
on TypeError: Failed to construct 'PointerEvent': The provided float value is no
n-finite.. |
129 PASS new PointerEvent('eventType', { pressure: NaN }).pressure threw exception R
eferenceError: PointerEvent is not defined. | 129 PASS new PointerEvent('eventType', { pressure: NaN }).pressure threw exception T
ypeError: Failed to construct 'PointerEvent': The provided float value is non-fi
nite.. |
130 FAIL new PointerEvent('eventType', { pressure: null }).pressure should be 0. Thr
ew exception ReferenceError: PointerEvent is not defined | 130 PASS new PointerEvent('eventType', { pressure: null }).pressure is 0 |
131 FAIL new PointerEvent('eventType', { pressure: undefined }).pressure should be 0
. Threw exception ReferenceError: PointerEvent is not defined | 131 PASS new PointerEvent('eventType', { pressure: undefined }).pressure is 0 |
132 FAIL new PointerEvent('eventType', { pressure: [] }).pressure should be 0. Threw
exception ReferenceError: PointerEvent is not defined | 132 PASS new PointerEvent('eventType', { pressure: [] }).pressure is 0 |
133 FAIL new PointerEvent('eventType', { pressure: [12] }).pressure should be 12. Th
rew exception ReferenceError: PointerEvent is not defined | 133 PASS new PointerEvent('eventType', { pressure: [12] }).pressure is 12 |
134 PASS new PointerEvent('eventType', { pressure: [12, 34] }).pressure threw except
ion ReferenceError: PointerEvent is not defined. | 134 PASS new PointerEvent('eventType', { pressure: [12, 34] }).pressure threw except
ion TypeError: Failed to construct 'PointerEvent': The provided float value is n
on-finite.. |
135 PASS new PointerEvent('eventType', { pressure: {} }).pressure threw exception Re
ferenceError: PointerEvent is not defined. | 135 PASS new PointerEvent('eventType', { pressure: {} }).pressure threw exception Ty
peError: Failed to construct 'PointerEvent': The provided float value is non-fin
ite.. |
136 PASS new PointerEvent('eventType', { pressure: {abc:1} }).pressure threw excepti
on ReferenceError: PointerEvent is not defined. | 136 PASS new PointerEvent('eventType', { pressure: {abc:1} }).pressure threw excepti
on TypeError: Failed to construct 'PointerEvent': The provided float value is no
n-finite.. |
137 PASS new PointerEvent('eventType', { pressure: {} }).pressure threw exception Re
ferenceError: PointerEvent is not defined. | 137 PASS new PointerEvent('eventType', { pressure: {} }).pressure threw exception Ty
peError: Failed to construct 'PointerEvent': The provided float value is non-fin
ite.. |
138 FAIL new PointerEvent('eventType', { pressure: {valueOf: function () { return 12
3; }} }).pressure should be 123. Threw exception ReferenceError: PointerEvent is
not defined | 138 PASS new PointerEvent('eventType', { pressure: {valueOf: function () { return 12
3; }} }).pressure is 123 |
139 --- tests for inherited attributes --- | 139 --- tests for inherited attributes --- |
140 FAIL new PointerEvent('eventType').bubbles should be false. Threw exception Refe
renceError: PointerEvent is not defined | 140 PASS new PointerEvent('eventType').bubbles is false |
141 FAIL new PointerEvent('eventType').cancelable should be false. Threw exception R
eferenceError: PointerEvent is not defined | 141 PASS new PointerEvent('eventType').cancelable is false |
142 FAIL new PointerEvent('eventType').view should be null. Threw exception Referenc
eError: PointerEvent is not defined | 142 PASS new PointerEvent('eventType').view is null |
143 FAIL new PointerEvent('eventType').detail should be 0. Threw exception Reference
Error: PointerEvent is not defined | 143 PASS new PointerEvent('eventType').detail is 0 |
144 FAIL new PointerEvent('eventType').screenX should be 0. Threw exception Referenc
eError: PointerEvent is not defined | 144 PASS new PointerEvent('eventType').screenX is 0 |
145 FAIL new PointerEvent('eventType').screenY should be 0. Threw exception Referenc
eError: PointerEvent is not defined | 145 PASS new PointerEvent('eventType').screenY is 0 |
146 FAIL new PointerEvent('eventType').clientX should be 0. Threw exception Referenc
eError: PointerEvent is not defined | 146 PASS new PointerEvent('eventType').clientX is 0 |
147 FAIL new PointerEvent('eventType').clientY should be 0. Threw exception Referenc
eError: PointerEvent is not defined | 147 PASS new PointerEvent('eventType').clientY is 0 |
148 FAIL new PointerEvent('eventType').ctrlKey should be false. Threw exception Refe
renceError: PointerEvent is not defined | 148 PASS new PointerEvent('eventType').ctrlKey is false |
149 FAIL new PointerEvent('eventType').shiftKey should be false. Threw exception Ref
erenceError: PointerEvent is not defined | 149 PASS new PointerEvent('eventType').shiftKey is false |
150 FAIL new PointerEvent('eventType').altKey should be false. Threw exception Refer
enceError: PointerEvent is not defined | 150 PASS new PointerEvent('eventType').altKey is false |
151 FAIL new PointerEvent('eventType').metaKey should be false. Threw exception Refe
renceError: PointerEvent is not defined | 151 PASS new PointerEvent('eventType').metaKey is false |
152 FAIL new PointerEvent('eventType').button should be 0. Threw exception Reference
Error: PointerEvent is not defined | 152 PASS new PointerEvent('eventType').button is 0 |
153 FAIL new PointerEvent('eventType').buttons should be 0. Threw exception Referenc
eError: PointerEvent is not defined | 153 PASS new PointerEvent('eventType').buttons is 0 |
154 FAIL new PointerEvent('eventType').relatedTarget should be null. Threw exception
ReferenceError: PointerEvent is not defined | 154 PASS new PointerEvent('eventType').relatedTarget is null |
155 PASS successfullyParsed is true | 155 PASS successfullyParsed is true |
156 | 156 |
157 TEST COMPLETE | 157 TEST COMPLETE |
158 | 158 |
OLD | NEW |