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

Side by Side Diff: LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt

Issue 85263002: Improve handling of dictionary conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have conversion methods take a context argument; elaborate error msgs further. Created 7 years 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 This tests the constructor for the WheelEvent DOM class. 1 This tests the constructor for the WheelEvent 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 WheelEvent('eventType').bubbles is false 6 PASS new WheelEvent('eventType').bubbles is false
7 PASS new WheelEvent('eventType').cancelable is false 7 PASS new WheelEvent('eventType').cancelable is false
8 PASS new WheelEvent('eventType').view is null 8 PASS new WheelEvent('eventType').view is null
9 PASS new WheelEvent('eventType').detail is 0 9 PASS new WheelEvent('eventType').detail is 0
10 PASS new WheelEvent('eventType').screenX is 0 10 PASS new WheelEvent('eventType').screenX is 0
11 PASS new WheelEvent('eventType').screenY is 0 11 PASS new WheelEvent('eventType').screenY is 0
12 PASS new WheelEvent('eventType').clientX is 0 12 PASS new WheelEvent('eventType').clientX is 0
13 PASS new WheelEvent('eventType').clientY is 0 13 PASS new WheelEvent('eventType').clientY is 0
14 PASS new WheelEvent('eventType').ctrlKey is false 14 PASS new WheelEvent('eventType').ctrlKey is false
15 PASS new WheelEvent('eventType').shiftKey is false 15 PASS new WheelEvent('eventType').shiftKey is false
16 PASS new WheelEvent('eventType').altKey is false 16 PASS new WheelEvent('eventType').altKey is false
17 PASS new WheelEvent('eventType').metaKey is false 17 PASS new WheelEvent('eventType').metaKey is false
18 PASS new WheelEvent('eventType').button is 0 18 PASS new WheelEvent('eventType').button is 0
19 PASS new WheelEvent('eventType').relatedTarget is null 19 PASS new WheelEvent('eventType').relatedTarget is null
20 PASS new WheelEvent('eventType').wheelDeltaX is 0 20 PASS new WheelEvent('eventType').wheelDeltaX is 0
21 PASS new WheelEvent('eventType').wheelDeltaY is 0 21 PASS new WheelEvent('eventType').wheelDeltaY is 0
22 PASS new WheelEvent('eventType').deltaMode is WheelEvent.DOM_DELTA_PIXEL 22 PASS new WheelEvent('eventType').deltaMode is WheelEvent.DOM_DELTA_PIXEL
23 PASS new WheelEvent('eventType', { bubbles: false }).bubbles is false 23 PASS new WheelEvent('eventType', { bubbles: false }).bubbles is false
24 PASS new WheelEvent('eventType', { bubbles: true }).bubbles is true 24 PASS new WheelEvent('eventType', { bubbles: true }).bubbles is true
25 PASS new WheelEvent('eventType', { cancelable: false }).cancelable is false 25 PASS new WheelEvent('eventType', { cancelable: false }).cancelable is false
26 PASS new WheelEvent('eventType', { cancelable: true }).cancelable is true 26 PASS new WheelEvent('eventType', { cancelable: true }).cancelable is true
27 PASS new WheelEvent('eventType', { view: window }).view is window 27 PASS new WheelEvent('eventType', { view: window }).view is window
28 PASS new WheelEvent('eventType', { view: this }).view is this 28 PASS new WheelEvent('eventType', { view: this }).view is this
29 PASS new WheelEvent('eventType', { view: testObject }).view is null 29 PASS new WheelEvent('eventType', { view: testObject }).view threw exception Type Error: Failed to construct 'WheelEvent': The 'view' property does not have a Win dow type..
30 PASS new WheelEvent('eventType', { view: document }).view is null 30 PASS new WheelEvent('eventType', { view: document }).view threw exception TypeEr ror: Failed to construct 'WheelEvent': The 'view' property does not have a Windo w type..
31 PASS new WheelEvent('eventType', { view: undefined }).view is null 31 PASS new WheelEvent('eventType', { view: undefined }).view is null
32 PASS new WheelEvent('eventType', { view: null }).view is null 32 PASS new WheelEvent('eventType', { view: null }).view is null
33 PASS new WheelEvent('eventType', { view: false }).view is null 33 PASS new WheelEvent('eventType', { view: false }).view threw exception TypeError : Failed to construct 'WheelEvent': The 'view' property does not have a Window t ype..
34 PASS new WheelEvent('eventType', { view: true }).view is null 34 PASS new WheelEvent('eventType', { view: true }).view threw exception TypeError: Failed to construct 'WheelEvent': The 'view' property does not have a Window ty pe..
35 PASS new WheelEvent('eventType', { view: '' }).view is null 35 PASS new WheelEvent('eventType', { view: '' }).view threw exception TypeError: F ailed to construct 'WheelEvent': The 'view' property does not have a Window type ..
36 PASS new WheelEvent('eventType', { view: 'chocolate' }).view is null 36 PASS new WheelEvent('eventType', { view: 'chocolate' }).view threw exception Typ eError: Failed to construct 'WheelEvent': The 'view' property does not have a Wi ndow type..
37 PASS new WheelEvent('eventType', { view: 12345 }).view is null 37 PASS new WheelEvent('eventType', { view: 12345 }).view threw exception TypeError : Failed to construct 'WheelEvent': The 'view' property does not have a Window t ype..
38 PASS new WheelEvent('eventType', { view: 18446744073709551615 }).view is null 38 PASS new WheelEvent('eventType', { view: 18446744073709551615 }).view threw exce ption TypeError: Failed to construct 'WheelEvent': The 'view' property does not have a Window type..
39 PASS new WheelEvent('eventType', { view: NaN }).view is null 39 PASS new WheelEvent('eventType', { view: NaN }).view threw exception TypeError: Failed to construct 'WheelEvent': The 'view' property does not have a Window typ e..
40 PASS new WheelEvent('eventType', { view: {valueOf: function () { return window; } } }).view == window is false 40 PASS new WheelEvent('eventType', { view: {valueOf: function () { return window; } } }).view == window threw exception TypeError: Failed to construct 'WheelEvent ': The 'view' property does not have a Window type..
41 PASS new WheelEvent('eventType', { get view() { return 123; } }).view is null 41 PASS new WheelEvent('eventType', { get view() { return window; } }).view is wind ow
42 PASS new WheelEvent('eventType', { get view() { return 123; } }).view threw exce ption TypeError: Failed to construct 'WheelEvent': The 'view' property does not have a Window type..
42 PASS new WheelEvent('eventType', { get view() { throw 'WheelEvent Error'; } }) t hrew exception WheelEvent Error. 43 PASS new WheelEvent('eventType', { get view() { throw 'WheelEvent Error'; } }) t hrew exception WheelEvent Error.
43 PASS new WheelEvent('eventType', { detail: 0 }).detail is 0 44 PASS new WheelEvent('eventType', { detail: 0 }).detail is 0
44 PASS new WheelEvent('eventType', { detail: 2147483647 }).detail is 2147483647 45 PASS new WheelEvent('eventType', { detail: 2147483647 }).detail is 2147483647
45 PASS new WheelEvent('eventType', { detail: -1 }).detail is -1 46 PASS new WheelEvent('eventType', { detail: -1 }).detail is -1
46 PASS new WheelEvent('eventType', { detail: -2147483648 }).detail is -2147483648 47 PASS new WheelEvent('eventType', { detail: -2147483648 }).detail is -2147483648
47 PASS new WheelEvent('eventType', { detail: 4294967295 }).detail is -1 48 PASS new WheelEvent('eventType', { detail: 4294967295 }).detail is -1
48 PASS new WheelEvent('eventType', { detail: 9007199254740991 }).detail is -1 49 PASS new WheelEvent('eventType', { detail: 9007199254740991 }).detail is -1
49 PASS new WheelEvent('eventType', { detail: 18446744073709551615 }).detail is 0 50 PASS new WheelEvent('eventType', { detail: 18446744073709551615 }).detail is 0
50 PASS new WheelEvent('eventType', { detail: 123.45 }).detail is 123 51 PASS new WheelEvent('eventType', { detail: 123.45 }).detail is 123
51 PASS new WheelEvent('eventType', { detail: NaN }).detail is 0 52 PASS new WheelEvent('eventType', { detail: NaN }).detail is 0
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 PASS new WheelEvent('eventType', { button: 'abc' }).button is 0 239 PASS new WheelEvent('eventType', { button: 'abc' }).button is 0
239 PASS new WheelEvent('eventType', { button: [] }).button is 0 240 PASS new WheelEvent('eventType', { button: [] }).button is 0
240 PASS new WheelEvent('eventType', { button: [12345] }).button is 12345 241 PASS new WheelEvent('eventType', { button: [12345] }).button is 12345
241 PASS new WheelEvent('eventType', { button: [12345, 67890] }).button is 0 242 PASS new WheelEvent('eventType', { button: [12345, 67890] }).button is 0
242 PASS new WheelEvent('eventType', { button: {} }).button is 0 243 PASS new WheelEvent('eventType', { button: {} }).button is 0
243 PASS new WheelEvent('eventType', { button: {moemoe: 12345} }).button is 0 244 PASS new WheelEvent('eventType', { button: {moemoe: 12345} }).button is 0
244 PASS new WheelEvent('eventType', { button: {valueOf: function () { return 12345; }} }).button is 12345 245 PASS new WheelEvent('eventType', { button: {valueOf: function () { return 12345; }} }).button is 12345
245 PASS new WheelEvent('eventType', { relatedTarget: testDiv }).relatedTarget is te stDiv 246 PASS new WheelEvent('eventType', { relatedTarget: testDiv }).relatedTarget is te stDiv
246 PASS new WheelEvent('eventType', { relatedTarget: document }).relatedTarget is d ocument 247 PASS new WheelEvent('eventType', { relatedTarget: document }).relatedTarget is d ocument
247 PASS new WheelEvent('eventType', { relatedTarget: xhr }).relatedTarget is xhr 248 PASS new WheelEvent('eventType', { relatedTarget: xhr }).relatedTarget is xhr
248 PASS new WheelEvent('eventType', { relatedTarget: testObject }).relatedTarget is null 249 PASS new WheelEvent('eventType', { relatedTarget: testObject }).relatedTarget th rew exception TypeError: Failed to construct 'WheelEvent': The 'relatedTarget' p roperty does not have a EventTarget type..
249 PASS new WheelEvent('eventType', { relatedTarget: undefined }).relatedTarget is null 250 PASS new WheelEvent('eventType', { relatedTarget: undefined }).relatedTarget is null
250 PASS new WheelEvent('eventType', { relatedTarget: null }).relatedTarget is null 251 PASS new WheelEvent('eventType', { relatedTarget: null }).relatedTarget is null
251 PASS new WheelEvent('eventType', { relatedTarget: false }).relatedTarget is null 252 PASS new WheelEvent('eventType', { relatedTarget: false }).relatedTarget threw e xception TypeError: Failed to construct 'WheelEvent': The 'relatedTarget' proper ty does not have a EventTarget type..
252 PASS new WheelEvent('eventType', { relatedTarget: true }).relatedTarget is null 253 PASS new WheelEvent('eventType', { relatedTarget: true }).relatedTarget threw ex ception TypeError: Failed to construct 'WheelEvent': The 'relatedTarget' propert y does not have a EventTarget type..
253 PASS new WheelEvent('eventType', { relatedTarget: '' }).relatedTarget is null 254 PASS new WheelEvent('eventType', { relatedTarget: '' }).relatedTarget threw exce ption TypeError: Failed to construct 'WheelEvent': The 'relatedTarget' property does not have a EventTarget type..
254 PASS new WheelEvent('eventType', { relatedTarget: 'chocolate' }).relatedTarget i s null 255 PASS new WheelEvent('eventType', { relatedTarget: 'chocolate' }).relatedTarget t hrew exception TypeError: Failed to construct 'WheelEvent': The 'relatedTarget' property does not have a EventTarget type..
255 PASS new WheelEvent('eventType', { relatedTarget: 12345 }).relatedTarget is null 256 PASS new WheelEvent('eventType', { relatedTarget: 12345 }).relatedTarget threw e xception TypeError: Failed to construct 'WheelEvent': The 'relatedTarget' proper ty does not have a EventTarget type..
256 PASS new WheelEvent('eventType', { relatedTarget: 18446744073709551615 }).relate dTarget is null 257 PASS new WheelEvent('eventType', { relatedTarget: 18446744073709551615 }).relate dTarget threw exception TypeError: Failed to construct 'WheelEvent': The 'relate dTarget' property does not have a EventTarget type..
257 PASS new WheelEvent('eventType', { relatedTarget: NaN }).relatedTarget is null 258 PASS new WheelEvent('eventType', { relatedTarget: NaN }).relatedTarget threw exc eption TypeError: Failed to construct 'WheelEvent': The 'relatedTarget' property does not have a EventTarget type..
258 PASS new WheelEvent('eventType', { relatedTarget: {valueOf: function () { return testDiv; } } }).relatedTarget == testDiv is false 259 PASS new WheelEvent('eventType', { relatedTarget: {valueOf: function () { return testDiv; } } }).relatedTarget == testDiv threw exception TypeError: Failed to c onstruct 'WheelEvent': The 'relatedTarget' property does not have a EventTarget type..
259 PASS new WheelEvent('eventType', { get relatedTarget() { return 123; } }).relate dTarget is null 260 PASS new WheelEvent('eventType', { get relatedTarget() { return testDiv; } }).re latedTarget is testDiv
261 PASS new WheelEvent('eventType', { get relatedTarget() { return 123; } }).relate dTarget threw exception TypeError: Failed to construct 'WheelEvent': The 'relate dTarget' property does not have a EventTarget type..
260 PASS new WheelEvent('eventType', { get relatedTarget() { throw 'WheelEvent Error '; } }) threw exception WheelEvent Error. 262 PASS new WheelEvent('eventType', { get relatedTarget() { throw 'WheelEvent Error '; } }) threw exception WheelEvent Error.
261 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).bubbles is true 263 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).bubbles is true
262 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).cancelable is true 264 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).cancelable is true
263 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).view is window 265 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).view is window
264 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).detail is 111 266 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).detail is 111
265 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).screenX is 222 267 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).screenX is 222
266 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).screenY is 333 268 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).screenY is 333
267 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).clientX is 444 269 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).clientX is 444
268 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).clientY is 555 270 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).clientY is 555
269 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).ctrlKey is true 271 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).ctrlKey is true
270 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).shiftKey is true 272 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).shiftKey is true
271 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).altKey is true 273 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).altKey is true
272 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).metaKey is true 274 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).metaKey is true
273 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).button is 666 275 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).button is 666
274 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).relatedTarget is testDiv 276 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).relatedTarget is testDiv
275 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).wheelDeltaX is 777 277 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).wheelDeltaX is 777
276 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).wheelDeltaY is 888 278 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).wheelDeltaY is 888
277 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).deltaMode is WheelEvent.DOM_DELTA_PAGE 279 PASS new WheelEvent('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, relatedTarget: t estDiv, wheelDeltaX: 777, wheelDeltaY: 888, deltaMode: WheelEvent.DOM_DELTA_PAGE }).deltaMode is WheelEvent.DOM_DELTA_PAGE
278 PASS successfullyParsed is true 280 PASS successfullyParsed is true
279 281
280 TEST COMPLETE 282 TEST COMPLETE
281 283
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698