OLD | NEW |
1 This tests the constructor for the MouseEvent DOM class. | 1 This tests the constructor for the MouseEvent 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 PASS new MouseEvent('eventType').bubbles is false | 6 PASS new MouseEvent('eventType').bubbles is false |
7 PASS new MouseEvent('eventType').cancelable is false | 7 PASS new MouseEvent('eventType').cancelable is false |
8 PASS new MouseEvent('eventType').view is null | 8 PASS new MouseEvent('eventType').view is null |
9 PASS new MouseEvent('eventType').detail is 0 | 9 PASS new MouseEvent('eventType').detail is 0 |
10 PASS new MouseEvent('eventType').screenX is 0 | 10 PASS new MouseEvent('eventType').screenX is 0 |
(...skipping 22 matching lines...) Expand all Loading... |
33 PASS new MouseEvent('eventType', { view: '' }).view threw exception TypeError: F
ailed to construct 'MouseEvent': member view is not of type Window.. | 33 PASS new MouseEvent('eventType', { view: '' }).view threw exception TypeError: F
ailed to construct 'MouseEvent': member view is not of type Window.. |
34 PASS new MouseEvent('eventType', { view: 'chocolate' }).view threw exception Typ
eError: Failed to construct 'MouseEvent': member view is not of type Window.. | 34 PASS new MouseEvent('eventType', { view: 'chocolate' }).view threw exception Typ
eError: Failed to construct 'MouseEvent': member view is not of type Window.. |
35 PASS new MouseEvent('eventType', { view: 12345 }).view threw exception TypeError
: Failed to construct 'MouseEvent': member view is not of type Window.. | 35 PASS new MouseEvent('eventType', { view: 12345 }).view threw exception TypeError
: Failed to construct 'MouseEvent': member view is not of type Window.. |
36 PASS new MouseEvent('eventType', { view: 18446744073709551615 }).view threw exce
ption TypeError: Failed to construct 'MouseEvent': member view is not of type Wi
ndow.. | 36 PASS new MouseEvent('eventType', { view: 18446744073709551615 }).view threw exce
ption TypeError: Failed to construct 'MouseEvent': member view is not of type Wi
ndow.. |
37 PASS new MouseEvent('eventType', { view: NaN }).view threw exception TypeError:
Failed to construct 'MouseEvent': member view is not of type Window.. | 37 PASS new MouseEvent('eventType', { view: NaN }).view threw exception TypeError:
Failed to construct 'MouseEvent': member view is not of type Window.. |
38 PASS new MouseEvent('eventType', { view: {valueOf: function () { return window;
} } }).view == window threw exception TypeError: Failed to construct 'MouseEvent
': member view is not of type Window.. | 38 PASS new MouseEvent('eventType', { view: {valueOf: function () { return window;
} } }).view == window threw exception TypeError: Failed to construct 'MouseEvent
': member view is not of type Window.. |
39 PASS new MouseEvent('eventType', { get view() { return window; } }).view is wind
ow | 39 PASS new MouseEvent('eventType', { get view() { return window; } }).view is wind
ow |
40 PASS new MouseEvent('eventType', { get view() { return 123; } }).view threw exce
ption TypeError: Failed to construct 'MouseEvent': member view is not of type Wi
ndow.. | 40 PASS new MouseEvent('eventType', { get view() { return 123; } }).view threw exce
ption TypeError: Failed to construct 'MouseEvent': member view is not of type Wi
ndow.. |
41 PASS new MouseEvent('eventType', { get view() { throw 'MouseEvent Error'; } }) t
hrew exception MouseEvent Error. | 41 PASS new MouseEvent('eventType', { get view() { throw 'MouseEvent Error'; } }) t
hrew exception MouseEvent Error. |
42 PASS new MouseEvent('eventType', { detail: 0 }).detail is 0 | 42 PASS new MouseEvent('eventType', { detail: 0 }).detail is 0 |
| 43 PASS new MouseEvent('eventType', { detail: 1 }).detail is 1 |
| 44 PASS new MouseEvent('eventType', { detail: -1 }).detail is -1 |
43 PASS new MouseEvent('eventType', { detail: 2147483647 }).detail is 2147483647 | 45 PASS new MouseEvent('eventType', { detail: 2147483647 }).detail is 2147483647 |
44 PASS new MouseEvent('eventType', { detail: -1 }).detail is -1 | |
45 PASS new MouseEvent('eventType', { detail: -2147483648 }).detail is -2147483648 | 46 PASS new MouseEvent('eventType', { detail: -2147483648 }).detail is -2147483648 |
46 PASS new MouseEvent('eventType', { detail: 4294967295 }).detail is -1 | |
47 PASS new MouseEvent('eventType', { detail: 9007199254740991 }).detail is -1 | |
48 PASS new MouseEvent('eventType', { detail: 18446744073709551615 }).detail is 0 | |
49 PASS new MouseEvent('eventType', { detail: 123.45 }).detail is 123 | 47 PASS new MouseEvent('eventType', { detail: 123.45 }).detail is 123 |
| 48 PASS new MouseEvent('eventType', { detail: -123.45 }).detail is -123 |
50 PASS new MouseEvent('eventType', { detail: NaN }).detail is 0 | 49 PASS new MouseEvent('eventType', { detail: NaN }).detail is 0 |
51 PASS new MouseEvent('eventType', { detail: undefined }).detail is 0 | 50 PASS new MouseEvent('eventType', { detail: undefined }).detail is 0 |
52 PASS new MouseEvent('eventType', { detail: null }).detail is 0 | 51 PASS new MouseEvent('eventType', { detail: null }).detail is 0 |
53 PASS new MouseEvent('eventType', { detail: '' }).detail is 0 | 52 PASS new MouseEvent('eventType', { detail: '' }).detail is 0 |
54 PASS new MouseEvent('eventType', { detail: '12345' }).detail is 12345 | 53 PASS new MouseEvent('eventType', { detail: '12345' }).detail is 12345 |
55 PASS new MouseEvent('eventType', { detail: '12345a' }).detail is 0 | 54 PASS new MouseEvent('eventType', { detail: '12345a' }).detail is 0 |
56 PASS new MouseEvent('eventType', { detail: 'abc' }).detail is 0 | 55 PASS new MouseEvent('eventType', { detail: 'abc' }).detail is 0 |
57 PASS new MouseEvent('eventType', { detail: [] }).detail is 0 | 56 PASS new MouseEvent('eventType', { detail: [] }).detail is 0 |
58 PASS new MouseEvent('eventType', { detail: [12345] }).detail is 12345 | 57 PASS new MouseEvent('eventType', { detail: [12345] }).detail is 12345 |
59 PASS new MouseEvent('eventType', { detail: [12345, 67890] }).detail is 0 | 58 PASS new MouseEvent('eventType', { detail: [12345, 67890] }).detail is 0 |
60 PASS new MouseEvent('eventType', { detail: {} }).detail is 0 | 59 PASS new MouseEvent('eventType', { detail: {} }).detail is 0 |
61 PASS new MouseEvent('eventType', { detail: {moemoe: 12345} }).detail is 0 | 60 PASS new MouseEvent('eventType', { detail: {moemoe: 12345} }).detail is 0 |
62 PASS new MouseEvent('eventType', { detail: {valueOf: function () { return 12345;
}} }).detail is 12345 | 61 PASS new MouseEvent('eventType', { detail: {valueOf: function () { return 12345;
}} }).detail is 12345 |
63 PASS new MouseEvent('eventType', { screenX: 0 }).screenX is 0 | 62 PASS new MouseEvent('eventType', { screenX: 0 }).screenX is 0 |
| 63 PASS new MouseEvent('eventType', { screenX: 1 }).screenX is 1 |
| 64 PASS new MouseEvent('eventType', { screenX: -1 }).screenX is -1 |
64 PASS new MouseEvent('eventType', { screenX: 2147483647 }).screenX is 2147483647 | 65 PASS new MouseEvent('eventType', { screenX: 2147483647 }).screenX is 2147483647 |
65 PASS new MouseEvent('eventType', { screenX: -1 }).screenX is -1 | |
66 PASS new MouseEvent('eventType', { screenX: -2147483648 }).screenX is -214748364
8 | 66 PASS new MouseEvent('eventType', { screenX: -2147483648 }).screenX is -214748364
8 |
67 PASS new MouseEvent('eventType', { screenX: 4294967295 }).screenX is -1 | |
68 PASS new MouseEvent('eventType', { screenX: 9007199254740991 }).screenX is -1 | |
69 PASS new MouseEvent('eventType', { screenX: 18446744073709551615 }).screenX is 0 | |
70 PASS new MouseEvent('eventType', { screenX: 123.45 }).screenX is 123 | 67 PASS new MouseEvent('eventType', { screenX: 123.45 }).screenX is 123 |
71 PASS new MouseEvent('eventType', { screenX: NaN }).screenX is 0 | 68 PASS new MouseEvent('eventType', { screenX: -123.45 }).screenX is -123 |
| 69 PASS new MouseEvent('eventType', { screenX: NaN }).screenX threw exception TypeE
rror: Failed to construct 'MouseEvent': The provided double value is non-finite.
. |
72 PASS new MouseEvent('eventType', { screenX: undefined }).screenX is 0 | 70 PASS new MouseEvent('eventType', { screenX: undefined }).screenX is 0 |
73 PASS new MouseEvent('eventType', { screenX: null }).screenX is 0 | 71 PASS new MouseEvent('eventType', { screenX: null }).screenX is 0 |
74 PASS new MouseEvent('eventType', { screenX: '' }).screenX is 0 | 72 PASS new MouseEvent('eventType', { screenX: '' }).screenX is 0 |
75 PASS new MouseEvent('eventType', { screenX: '12345' }).screenX is 12345 | 73 PASS new MouseEvent('eventType', { screenX: '12345' }).screenX is 12345 |
76 PASS new MouseEvent('eventType', { screenX: '12345a' }).screenX is 0 | 74 PASS new MouseEvent('eventType', { screenX: '12345a' }).screenX threw exception
TypeError: Failed to construct 'MouseEvent': The provided double value is non-fi
nite.. |
77 PASS new MouseEvent('eventType', { screenX: 'abc' }).screenX is 0 | 75 PASS new MouseEvent('eventType', { screenX: 'abc' }).screenX threw exception Typ
eError: Failed to construct 'MouseEvent': The provided double value is non-finit
e.. |
78 PASS new MouseEvent('eventType', { screenX: [] }).screenX is 0 | 76 PASS new MouseEvent('eventType', { screenX: [] }).screenX is 0 |
79 PASS new MouseEvent('eventType', { screenX: [12345] }).screenX is 12345 | 77 PASS new MouseEvent('eventType', { screenX: [12345] }).screenX is 12345 |
80 PASS new MouseEvent('eventType', { screenX: [12345, 67890] }).screenX is 0 | 78 PASS new MouseEvent('eventType', { screenX: [12345, 67890] }).screenX threw exce
ption TypeError: Failed to construct 'MouseEvent': The provided double value is
non-finite.. |
81 PASS new MouseEvent('eventType', { screenX: {} }).screenX is 0 | 79 PASS new MouseEvent('eventType', { screenX: {} }).screenX threw exception TypeEr
ror: Failed to construct 'MouseEvent': The provided double value is non-finite.. |
82 PASS new MouseEvent('eventType', { screenX: {moemoe: 12345} }).screenX is 0 | 80 PASS new MouseEvent('eventType', { screenX: {moemoe: 12345} }).screenX threw exc
eption TypeError: Failed to construct 'MouseEvent': The provided double value is
non-finite.. |
83 PASS new MouseEvent('eventType', { screenX: {valueOf: function () { return 12345
; }} }).screenX is 12345 | 81 PASS new MouseEvent('eventType', { screenX: {valueOf: function () { return 12345
; }} }).screenX is 12345 |
84 PASS new MouseEvent('eventType', { screenY: 0 }).screenY is 0 | 82 PASS new MouseEvent('eventType', { screenY: 0 }).screenY is 0 |
| 83 PASS new MouseEvent('eventType', { screenY: 1 }).screenY is 1 |
| 84 PASS new MouseEvent('eventType', { screenY: -1 }).screenY is -1 |
85 PASS new MouseEvent('eventType', { screenY: 2147483647 }).screenY is 2147483647 | 85 PASS new MouseEvent('eventType', { screenY: 2147483647 }).screenY is 2147483647 |
86 PASS new MouseEvent('eventType', { screenY: -1 }).screenY is -1 | |
87 PASS new MouseEvent('eventType', { screenY: -2147483648 }).screenY is -214748364
8 | 86 PASS new MouseEvent('eventType', { screenY: -2147483648 }).screenY is -214748364
8 |
88 PASS new MouseEvent('eventType', { screenY: 4294967295 }).screenY is -1 | |
89 PASS new MouseEvent('eventType', { screenY: 9007199254740991 }).screenY is -1 | |
90 PASS new MouseEvent('eventType', { screenY: 18446744073709551615 }).screenY is 0 | |
91 PASS new MouseEvent('eventType', { screenY: 123.45 }).screenY is 123 | 87 PASS new MouseEvent('eventType', { screenY: 123.45 }).screenY is 123 |
92 PASS new MouseEvent('eventType', { screenY: NaN }).screenY is 0 | 88 PASS new MouseEvent('eventType', { screenY: -123.45 }).screenY is -123 |
| 89 PASS new MouseEvent('eventType', { screenY: NaN }).screenY threw exception TypeE
rror: Failed to construct 'MouseEvent': The provided double value is non-finite.
. |
93 PASS new MouseEvent('eventType', { screenY: undefined }).screenY is 0 | 90 PASS new MouseEvent('eventType', { screenY: undefined }).screenY is 0 |
94 PASS new MouseEvent('eventType', { screenY: null }).screenY is 0 | 91 PASS new MouseEvent('eventType', { screenY: null }).screenY is 0 |
95 PASS new MouseEvent('eventType', { screenY: '' }).screenY is 0 | 92 PASS new MouseEvent('eventType', { screenY: '' }).screenY is 0 |
96 PASS new MouseEvent('eventType', { screenY: '12345' }).screenY is 12345 | 93 PASS new MouseEvent('eventType', { screenY: '12345' }).screenY is 12345 |
97 PASS new MouseEvent('eventType', { screenY: '12345a' }).screenY is 0 | 94 PASS new MouseEvent('eventType', { screenY: '12345a' }).screenY threw exception
TypeError: Failed to construct 'MouseEvent': The provided double value is non-fi
nite.. |
98 PASS new MouseEvent('eventType', { screenY: 'abc' }).screenY is 0 | 95 PASS new MouseEvent('eventType', { screenY: 'abc' }).screenY threw exception Typ
eError: Failed to construct 'MouseEvent': The provided double value is non-finit
e.. |
99 PASS new MouseEvent('eventType', { screenY: [] }).screenY is 0 | 96 PASS new MouseEvent('eventType', { screenY: [] }).screenY is 0 |
100 PASS new MouseEvent('eventType', { screenY: [12345] }).screenY is 12345 | 97 PASS new MouseEvent('eventType', { screenY: [12345] }).screenY is 12345 |
101 PASS new MouseEvent('eventType', { screenY: [12345, 67890] }).screenY is 0 | 98 PASS new MouseEvent('eventType', { screenY: [12345, 67890] }).screenY threw exce
ption TypeError: Failed to construct 'MouseEvent': The provided double value is
non-finite.. |
102 PASS new MouseEvent('eventType', { screenY: {} }).screenY is 0 | 99 PASS new MouseEvent('eventType', { screenY: {} }).screenY threw exception TypeEr
ror: Failed to construct 'MouseEvent': The provided double value is non-finite.. |
103 PASS new MouseEvent('eventType', { screenY: {moemoe: 12345} }).screenY is 0 | 100 PASS new MouseEvent('eventType', { screenY: {moemoe: 12345} }).screenY threw exc
eption TypeError: Failed to construct 'MouseEvent': The provided double value is
non-finite.. |
104 PASS new MouseEvent('eventType', { screenY: {valueOf: function () { return 12345
; }} }).screenY is 12345 | 101 PASS new MouseEvent('eventType', { screenY: {valueOf: function () { return 12345
; }} }).screenY is 12345 |
105 PASS new MouseEvent('eventType', { clientX: 0 }).clientX is 0 | 102 PASS new MouseEvent('eventType', { clientX: 0 }).clientX is 0 |
106 PASS new MouseEvent('eventType', { clientX: 2147483647 }).clientX is 33554431 | 103 PASS new MouseEvent('eventType', { clientX: 1 }).clientX is 1 |
107 PASS new MouseEvent('eventType', { clientX: -1 }).clientX is -1 | 104 PASS new MouseEvent('eventType', { clientX: -1 }).clientX is -1 |
108 PASS new MouseEvent('eventType', { clientX: -2147483648 }).clientX is -33554432 | 105 PASS new MouseEvent('eventType', { clientX: 2147483647 }).clientX is 2147483647 |
109 PASS new MouseEvent('eventType', { clientX: 4294967295 }).clientX is -1 | 106 PASS new MouseEvent('eventType', { clientX: -2147483648 }).clientX is -214748364
8 |
110 PASS new MouseEvent('eventType', { clientX: 9007199254740991 }).clientX is -1 | |
111 PASS new MouseEvent('eventType', { clientX: 18446744073709551615 }).clientX is 0 | |
112 PASS new MouseEvent('eventType', { clientX: 123.45 }).clientX is 123 | 107 PASS new MouseEvent('eventType', { clientX: 123.45 }).clientX is 123 |
113 PASS new MouseEvent('eventType', { clientX: NaN }).clientX is 0 | 108 PASS new MouseEvent('eventType', { clientX: -123.45 }).clientX is -123 |
| 109 PASS new MouseEvent('eventType', { clientX: NaN }).clientX threw exception TypeE
rror: Failed to construct 'MouseEvent': The provided double value is non-finite.
. |
114 PASS new MouseEvent('eventType', { clientX: undefined }).clientX is 0 | 110 PASS new MouseEvent('eventType', { clientX: undefined }).clientX is 0 |
115 PASS new MouseEvent('eventType', { clientX: null }).clientX is 0 | 111 PASS new MouseEvent('eventType', { clientX: null }).clientX is 0 |
116 PASS new MouseEvent('eventType', { clientX: '' }).clientX is 0 | 112 PASS new MouseEvent('eventType', { clientX: '' }).clientX is 0 |
117 PASS new MouseEvent('eventType', { clientX: '12345' }).clientX is 12345 | 113 PASS new MouseEvent('eventType', { clientX: '12345' }).clientX is 12345 |
118 PASS new MouseEvent('eventType', { clientX: '12345a' }).clientX is 0 | 114 PASS new MouseEvent('eventType', { clientX: '12345a' }).clientX threw exception
TypeError: Failed to construct 'MouseEvent': The provided double value is non-fi
nite.. |
119 PASS new MouseEvent('eventType', { clientX: 'abc' }).clientX is 0 | 115 PASS new MouseEvent('eventType', { clientX: 'abc' }).clientX threw exception Typ
eError: Failed to construct 'MouseEvent': The provided double value is non-finit
e.. |
120 PASS new MouseEvent('eventType', { clientX: [] }).clientX is 0 | 116 PASS new MouseEvent('eventType', { clientX: [] }).clientX is 0 |
121 PASS new MouseEvent('eventType', { clientX: [12345] }).clientX is 12345 | 117 PASS new MouseEvent('eventType', { clientX: [12345] }).clientX is 12345 |
122 PASS new MouseEvent('eventType', { clientX: [12345, 67890] }).clientX is 0 | 118 PASS new MouseEvent('eventType', { clientX: [12345, 67890] }).clientX threw exce
ption TypeError: Failed to construct 'MouseEvent': The provided double value is
non-finite.. |
123 PASS new MouseEvent('eventType', { clientX: {} }).clientX is 0 | 119 PASS new MouseEvent('eventType', { clientX: {} }).clientX threw exception TypeEr
ror: Failed to construct 'MouseEvent': The provided double value is non-finite.. |
124 PASS new MouseEvent('eventType', { clientX: {moemoe: 12345} }).clientX is 0 | 120 PASS new MouseEvent('eventType', { clientX: {moemoe: 12345} }).clientX threw exc
eption TypeError: Failed to construct 'MouseEvent': The provided double value is
non-finite.. |
125 PASS new MouseEvent('eventType', { clientX: {valueOf: function () { return 12345
; }} }).clientX is 12345 | 121 PASS new MouseEvent('eventType', { clientX: {valueOf: function () { return 12345
; }} }).clientX is 12345 |
126 PASS new MouseEvent('eventType', { clientY: 0 }).clientY is 0 | 122 PASS new MouseEvent('eventType', { clientY: 0 }).clientY is 0 |
127 PASS new MouseEvent('eventType', { clientY: 2147483647 }).clientY is 33554431 | 123 PASS new MouseEvent('eventType', { clientY: 1 }).clientY is 1 |
128 PASS new MouseEvent('eventType', { clientY: -1 }).clientY is -1 | 124 PASS new MouseEvent('eventType', { clientY: -1 }).clientY is -1 |
129 PASS new MouseEvent('eventType', { clientY: -2147483648 }).clientY is -33554432 | 125 PASS new MouseEvent('eventType', { clientY: 2147483647 }).clientY is 2147483647 |
130 PASS new MouseEvent('eventType', { clientY: 4294967295 }).clientY is -1 | 126 PASS new MouseEvent('eventType', { clientY: -2147483648 }).clientY is -214748364
8 |
131 PASS new MouseEvent('eventType', { clientY: 9007199254740991 }).clientY is -1 | |
132 PASS new MouseEvent('eventType', { clientY: 18446744073709551615 }).clientY is 0 | |
133 PASS new MouseEvent('eventType', { clientY: 123.45 }).clientY is 123 | 127 PASS new MouseEvent('eventType', { clientY: 123.45 }).clientY is 123 |
134 PASS new MouseEvent('eventType', { clientY: NaN }).clientY is 0 | 128 PASS new MouseEvent('eventType', { clientY: -123.45 }).clientY is -123 |
| 129 PASS new MouseEvent('eventType', { clientY: NaN }).clientY threw exception TypeE
rror: Failed to construct 'MouseEvent': The provided double value is non-finite.
. |
135 PASS new MouseEvent('eventType', { clientY: undefined }).clientY is 0 | 130 PASS new MouseEvent('eventType', { clientY: undefined }).clientY is 0 |
136 PASS new MouseEvent('eventType', { clientY: null }).clientY is 0 | 131 PASS new MouseEvent('eventType', { clientY: null }).clientY is 0 |
137 PASS new MouseEvent('eventType', { clientY: '' }).clientY is 0 | 132 PASS new MouseEvent('eventType', { clientY: '' }).clientY is 0 |
138 PASS new MouseEvent('eventType', { clientY: '12345' }).clientY is 12345 | 133 PASS new MouseEvent('eventType', { clientY: '12345' }).clientY is 12345 |
139 PASS new MouseEvent('eventType', { clientY: '12345a' }).clientY is 0 | 134 PASS new MouseEvent('eventType', { clientY: '12345a' }).clientY threw exception
TypeError: Failed to construct 'MouseEvent': The provided double value is non-fi
nite.. |
140 PASS new MouseEvent('eventType', { clientY: 'abc' }).clientY is 0 | 135 PASS new MouseEvent('eventType', { clientY: 'abc' }).clientY threw exception Typ
eError: Failed to construct 'MouseEvent': The provided double value is non-finit
e.. |
141 PASS new MouseEvent('eventType', { clientY: [] }).clientY is 0 | 136 PASS new MouseEvent('eventType', { clientY: [] }).clientY is 0 |
142 PASS new MouseEvent('eventType', { clientY: [12345] }).clientY is 12345 | 137 PASS new MouseEvent('eventType', { clientY: [12345] }).clientY is 12345 |
143 PASS new MouseEvent('eventType', { clientY: [12345, 67890] }).clientY is 0 | 138 PASS new MouseEvent('eventType', { clientY: [12345, 67890] }).clientY threw exce
ption TypeError: Failed to construct 'MouseEvent': The provided double value is
non-finite.. |
144 PASS new MouseEvent('eventType', { clientY: {} }).clientY is 0 | 139 PASS new MouseEvent('eventType', { clientY: {} }).clientY threw exception TypeEr
ror: Failed to construct 'MouseEvent': The provided double value is non-finite.. |
145 PASS new MouseEvent('eventType', { clientY: {moemoe: 12345} }).clientY is 0 | 140 PASS new MouseEvent('eventType', { clientY: {moemoe: 12345} }).clientY threw exc
eption TypeError: Failed to construct 'MouseEvent': The provided double value is
non-finite.. |
146 PASS new MouseEvent('eventType', { clientY: {valueOf: function () { return 12345
; }} }).clientY is 12345 | 141 PASS new MouseEvent('eventType', { clientY: {valueOf: function () { return 12345
; }} }).clientY is 12345 |
147 PASS new MouseEvent('eventType', { ctrlKey: false }).ctrlKey is false | 142 PASS new MouseEvent('eventType', { ctrlKey: false }).ctrlKey is false |
148 PASS new MouseEvent('eventType', { ctrlKey: true }).ctrlKey is true | 143 PASS new MouseEvent('eventType', { ctrlKey: true }).ctrlKey is true |
149 PASS new MouseEvent('eventType', { altKey: false }).altKey is false | 144 PASS new MouseEvent('eventType', { altKey: false }).altKey is false |
150 PASS new MouseEvent('eventType', { altKey: true }).altKey is true | 145 PASS new MouseEvent('eventType', { altKey: true }).altKey is true |
151 PASS new MouseEvent('eventType', { shiftKey: false }).shiftKey is false | 146 PASS new MouseEvent('eventType', { shiftKey: false }).shiftKey is false |
152 PASS new MouseEvent('eventType', { shiftKey: true }).shiftKey is true | 147 PASS new MouseEvent('eventType', { shiftKey: true }).shiftKey is true |
153 PASS new MouseEvent('eventType', { metaKey: false }).metaKey is false | 148 PASS new MouseEvent('eventType', { metaKey: false }).metaKey is false |
154 PASS new MouseEvent('eventType', { metaKey: true }).metaKey is true | 149 PASS new MouseEvent('eventType', { metaKey: true }).metaKey is true |
155 PASS new MouseEvent('eventType', { ctrlKey: false }).getModifierState('Control')
; is false | 150 PASS new MouseEvent('eventType', { ctrlKey: false }).getModifierState('Control')
; is false |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 PASS new MouseEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, buttons: 777, re
latedTarget: testDiv }).ctrlKey is true | 245 PASS new MouseEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, buttons: 777, re
latedTarget: testDiv }).ctrlKey is true |
251 PASS new MouseEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, buttons: 777, re
latedTarget: testDiv }).shiftKey is true | 246 PASS new MouseEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, buttons: 777, re
latedTarget: testDiv }).shiftKey is true |
252 PASS new MouseEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, buttons: 777, re
latedTarget: testDiv }).altKey is true | 247 PASS new MouseEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, buttons: 777, re
latedTarget: testDiv }).altKey is true |
253 PASS new MouseEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, buttons: 777, re
latedTarget: testDiv }).metaKey is true | 248 PASS new MouseEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, buttons: 777, re
latedTarget: testDiv }).metaKey is true |
254 PASS new MouseEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, buttons: 777, re
latedTarget: testDiv }).button is 666 | 249 PASS new MouseEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, buttons: 777, re
latedTarget: testDiv }).button is 666 |
255 PASS new MouseEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, buttons: 777, re
latedTarget: testDiv }).relatedTarget is testDiv | 250 PASS new MouseEvent('eventType', { bubbles: true, cancelable: true, view: window
, detail: 111, screenX: 222, screenY: 333, clientX: 444, clientY: 555, ctrlKey:
true, shiftKey: true, altKey: true, metaKey: true, button: 666, buttons: 777, re
latedTarget: testDiv }).relatedTarget is testDiv |
256 PASS successfullyParsed is true | 251 PASS successfullyParsed is true |
257 | 252 |
258 TEST COMPLETE | 253 TEST COMPLETE |
259 | 254 |
OLD | NEW |