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

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

Issue 964783003: Add [TypeChecking=Unrestricted] to {Transition,Wheel}EventInit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix test expectations Created 5 years, 9 months 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
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 PASS new WheelEvent('eventType', { wheelDeltaY: '' }).wheelDeltaY is 0 181 PASS new WheelEvent('eventType', { wheelDeltaY: '' }).wheelDeltaY is 0
182 PASS new WheelEvent('eventType', { wheelDeltaY: '12345' }).wheelDeltaY is 12345 182 PASS new WheelEvent('eventType', { wheelDeltaY: '12345' }).wheelDeltaY is 12345
183 PASS new WheelEvent('eventType', { wheelDeltaY: '12345a' }).wheelDeltaY is 0 183 PASS new WheelEvent('eventType', { wheelDeltaY: '12345a' }).wheelDeltaY is 0
184 PASS new WheelEvent('eventType', { wheelDeltaY: 'abc' }).wheelDeltaY is 0 184 PASS new WheelEvent('eventType', { wheelDeltaY: 'abc' }).wheelDeltaY is 0
185 PASS new WheelEvent('eventType', { wheelDeltaY: [] }).wheelDeltaY is 0 185 PASS new WheelEvent('eventType', { wheelDeltaY: [] }).wheelDeltaY is 0
186 PASS new WheelEvent('eventType', { wheelDeltaY: [12345] }).wheelDeltaY is 12345 186 PASS new WheelEvent('eventType', { wheelDeltaY: [12345] }).wheelDeltaY is 12345
187 PASS new WheelEvent('eventType', { wheelDeltaY: [12345, 67890] }).wheelDeltaY is 0 187 PASS new WheelEvent('eventType', { wheelDeltaY: [12345, 67890] }).wheelDeltaY is 0
188 PASS new WheelEvent('eventType', { wheelDeltaY: {} }).wheelDeltaY is 0 188 PASS new WheelEvent('eventType', { wheelDeltaY: {} }).wheelDeltaY is 0
189 PASS new WheelEvent('eventType', { wheelDeltaY: {moemoe: 12345} }).wheelDeltaY i s 0 189 PASS new WheelEvent('eventType', { wheelDeltaY: {moemoe: 12345} }).wheelDeltaY i s 0
190 PASS new WheelEvent('eventType', { wheelDeltaY: {valueOf: function () { return 1 2345; }} }).wheelDeltaY is 12345 190 PASS new WheelEvent('eventType', { wheelDeltaY: {valueOf: function () { return 1 2345; }} }).wheelDeltaY is 12345
191 PASS new WheelEvent('eventType', { deltaX: 0 }).deltaX is 0
192 PASS new WheelEvent('eventType', { deltaX: 2147483647 }).deltaX is 2147483647
193 PASS new WheelEvent('eventType', { deltaX: -1 }).deltaX is -1
194 PASS new WheelEvent('eventType', { deltaX: -2147483648 }).deltaX is -2147483648
195 PASS new WheelEvent('eventType', { deltaX: 4294967295 }).deltaX is 4294967295
196 PASS new WheelEvent('eventType', { deltaX: 9007199254740991 }).deltaX is 9007199 254740991
197 PASS new WheelEvent('eventType', { deltaX: 18446744073709551615 }).deltaX is 184 46744073709551615
198 PASS new WheelEvent('eventType', { deltaX: 123.45 }).deltaX is 123.45
199 PASS new WheelEvent('eventType', { deltaX: NaN }).deltaX threw exception TypeErr or: Failed to construct 'WheelEvent': The provided double value is non-finite..
200 PASS new WheelEvent('eventType', { deltaX: undefined }).deltaX is 0
201 PASS new WheelEvent('eventType', { deltaX: null }).deltaX is 0
202 PASS new WheelEvent('eventType', { deltaX: '' }).deltaX is 0
203 PASS new WheelEvent('eventType', { deltaX: '12345' }).deltaX is 12345
204 PASS new WheelEvent('eventType', { deltaX: '12345a' }).deltaX threw exception Ty peError: Failed to construct 'WheelEvent': The provided double value is non-fini te..
205 PASS new WheelEvent('eventType', { deltaX: 'abc' }).deltaX threw exception TypeE rror: Failed to construct 'WheelEvent': The provided double value is non-finite. .
206 PASS new WheelEvent('eventType', { deltaX: [] }).deltaX is 0
207 PASS new WheelEvent('eventType', { deltaX: [12345] }).deltaX is 12345
208 PASS new WheelEvent('eventType', { deltaX: [12345, 67890] }).deltaX threw except ion TypeError: Failed to construct 'WheelEvent': The provided double value is no n-finite..
209 PASS new WheelEvent('eventType', { deltaX: {} }).deltaX threw exception TypeErro r: Failed to construct 'WheelEvent': The provided double value is non-finite..
210 PASS new WheelEvent('eventType', { deltaX: {moemoe: 12345} }).deltaX threw excep tion TypeError: Failed to construct 'WheelEvent': The provided double value is n on-finite..
211 PASS new WheelEvent('eventType', { deltaX: {valueOf: function () { return 12345; }} }).deltaX is 12345
212 PASS new WheelEvent('eventType', { deltaY: 0 }).deltaY is 0
213 PASS new WheelEvent('eventType', { deltaY: 2147483647 }).deltaY is 2147483647
214 PASS new WheelEvent('eventType', { deltaY: -1 }).deltaY is -1
215 PASS new WheelEvent('eventType', { deltaY: -2147483648 }).deltaY is -2147483648
216 PASS new WheelEvent('eventType', { deltaY: 4294967295 }).deltaY is 4294967295
217 PASS new WheelEvent('eventType', { deltaY: 9007199254740991 }).deltaY is 9007199 254740991
218 PASS new WheelEvent('eventType', { deltaY: 18446744073709551615 }).deltaY is 184 46744073709551615
219 PASS new WheelEvent('eventType', { deltaY: 123.45 }).deltaY is 123.45
220 PASS new WheelEvent('eventType', { deltaY: NaN }).deltaY threw exception TypeErr or: Failed to construct 'WheelEvent': The provided double value is non-finite..
221 PASS new WheelEvent('eventType', { deltaY: undefined }).deltaY is 0
222 PASS new WheelEvent('eventType', { deltaY: null }).deltaY is 0
223 PASS new WheelEvent('eventType', { deltaY: '' }).deltaY is 0
224 PASS new WheelEvent('eventType', { deltaY: '12345' }).deltaY is 12345
225 PASS new WheelEvent('eventType', { deltaY: '12345a' }).deltaY threw exception Ty peError: Failed to construct 'WheelEvent': The provided double value is non-fini te..
226 PASS new WheelEvent('eventType', { deltaY: 'abc' }).deltaY threw exception TypeE rror: Failed to construct 'WheelEvent': The provided double value is non-finite. .
227 PASS new WheelEvent('eventType', { deltaY: [] }).deltaY is 0
228 PASS new WheelEvent('eventType', { deltaY: [12345] }).deltaY is 12345
229 PASS new WheelEvent('eventType', { deltaY: [12345, 67890] }).deltaY threw except ion TypeError: Failed to construct 'WheelEvent': The provided double value is no n-finite..
230 PASS new WheelEvent('eventType', { deltaY: {} }).deltaY threw exception TypeErro r: Failed to construct 'WheelEvent': The provided double value is non-finite..
231 PASS new WheelEvent('eventType', { deltaY: {moemoe: 12345} }).deltaY threw excep tion TypeError: Failed to construct 'WheelEvent': The provided double value is n on-finite..
232 PASS new WheelEvent('eventType', { deltaY: {valueOf: function () { return 12345; }} }).deltaY is 12345
233 PASS new WheelEvent('eventType', { deltaZ: 0 }).deltaZ is 0
234 PASS new WheelEvent('eventType', { deltaZ: 2147483647 }).deltaZ is 2147483647
235 PASS new WheelEvent('eventType', { deltaZ: -1 }).deltaZ is -1
236 PASS new WheelEvent('eventType', { deltaZ: -2147483648 }).deltaZ is -2147483648
237 PASS new WheelEvent('eventType', { deltaZ: 4294967295 }).deltaZ is 4294967295
238 PASS new WheelEvent('eventType', { deltaZ: 9007199254740991 }).deltaZ is 9007199 254740991
239 PASS new WheelEvent('eventType', { deltaZ: 18446744073709551615 }).deltaZ is 184 46744073709551615
240 PASS new WheelEvent('eventType', { deltaZ: 123.45 }).deltaZ is 123.45
241 PASS new WheelEvent('eventType', { deltaZ: NaN }).deltaZ threw exception TypeErr or: Failed to construct 'WheelEvent': The provided double value is non-finite..
242 PASS new WheelEvent('eventType', { deltaZ: undefined }).deltaZ is 0
243 PASS new WheelEvent('eventType', { deltaZ: null }).deltaZ is 0
244 PASS new WheelEvent('eventType', { deltaZ: '' }).deltaZ is 0
245 PASS new WheelEvent('eventType', { deltaZ: '12345' }).deltaZ is 12345
246 PASS new WheelEvent('eventType', { deltaZ: '12345a' }).deltaZ threw exception Ty peError: Failed to construct 'WheelEvent': The provided double value is non-fini te..
247 PASS new WheelEvent('eventType', { deltaZ: 'abc' }).deltaZ threw exception TypeE rror: Failed to construct 'WheelEvent': The provided double value is non-finite. .
248 PASS new WheelEvent('eventType', { deltaZ: [] }).deltaZ is 0
249 PASS new WheelEvent('eventType', { deltaZ: [12345] }).deltaZ is 12345
250 PASS new WheelEvent('eventType', { deltaZ: [12345, 67890] }).deltaZ threw except ion TypeError: Failed to construct 'WheelEvent': The provided double value is no n-finite..
251 PASS new WheelEvent('eventType', { deltaZ: {} }).deltaZ threw exception TypeErro r: Failed to construct 'WheelEvent': The provided double value is non-finite..
252 PASS new WheelEvent('eventType', { deltaZ: {moemoe: 12345} }).deltaZ threw excep tion TypeError: Failed to construct 'WheelEvent': The provided double value is n on-finite..
253 PASS new WheelEvent('eventType', { deltaZ: {valueOf: function () { return 12345; }} }).deltaZ is 12345
191 PASS new WheelEvent('eventType', { deltaMode: 0 }).deltaMode is 0 254 PASS new WheelEvent('eventType', { deltaMode: 0 }).deltaMode is 0
192 PASS new WheelEvent('eventType', { deltaMode: 1 }).deltaMode is 1 255 PASS new WheelEvent('eventType', { deltaMode: 1 }).deltaMode is 1
193 PASS new WheelEvent('eventType', { deltaMode: 4294967294 }).deltaMode is 4294967 294 256 PASS new WheelEvent('eventType', { deltaMode: 4294967294 }).deltaMode is 4294967 294
194 PASS new WheelEvent('eventType', { deltaMode: 4294967295 }).deltaMode is 4294967 295 257 PASS new WheelEvent('eventType', { deltaMode: 4294967295 }).deltaMode is 4294967 295
195 PASS new WheelEvent('eventType', { deltaMode: WheelEvent.DOM_DELTA_PIXEL }).delt aMode is WheelEvent.DOM_DELTA_PIXEL 258 PASS new WheelEvent('eventType', { deltaMode: WheelEvent.DOM_DELTA_PIXEL }).delt aMode is WheelEvent.DOM_DELTA_PIXEL
196 PASS new WheelEvent('eventType', { deltaMode: WheelEvent.DOM_DELTA_LINE }).delta Mode is WheelEvent.DOM_DELTA_LINE 259 PASS new WheelEvent('eventType', { deltaMode: WheelEvent.DOM_DELTA_LINE }).delta Mode is WheelEvent.DOM_DELTA_LINE
197 PASS new WheelEvent('eventType', { deltaMode: WheelEvent.DOM_DELTA_PAGE }).delta Mode is WheelEvent.DOM_DELTA_PAGE 260 PASS new WheelEvent('eventType', { deltaMode: WheelEvent.DOM_DELTA_PAGE }).delta Mode is WheelEvent.DOM_DELTA_PAGE
198 PASS new WheelEvent('eventType', { deltaMode: 9007199254740991 }).deltaMode is 4 294967295 261 PASS new WheelEvent('eventType', { deltaMode: 9007199254740991 }).deltaMode is 4 294967295
199 PASS new WheelEvent('eventType', { deltaMode: 18446744073709551615 }).deltaMode is 0 262 PASS new WheelEvent('eventType', { deltaMode: 18446744073709551615 }).deltaMode is 0
200 PASS new WheelEvent('eventType', { deltaMode: 12345678901234567890 }).deltaMode is 3944679424 263 PASS new WheelEvent('eventType', { deltaMode: 12345678901234567890 }).deltaMode is 3944679424
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 337 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
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 338 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
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 339 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
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 340 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
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 341 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
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 342 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
280 PASS successfullyParsed is true 343 PASS successfullyParsed is true
281 344
282 TEST COMPLETE 345 TEST COMPLETE
283 346
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/constructors/wheel-event-constructor.html ('k') | Source/core/events/TransitionEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698