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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt
diff --git a/LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt
index bb9657c87c1689a1846b864c6fc1f31abc7d464a..155f58b1798467968e73f0190cd4f7b0a18889a8 100644
--- a/LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt
+++ b/LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt
@@ -188,6 +188,69 @@ PASS new WheelEvent('eventType', { wheelDeltaY: [12345, 67890] }).wheelDeltaY is
PASS new WheelEvent('eventType', { wheelDeltaY: {} }).wheelDeltaY is 0
PASS new WheelEvent('eventType', { wheelDeltaY: {moemoe: 12345} }).wheelDeltaY is 0
PASS new WheelEvent('eventType', { wheelDeltaY: {valueOf: function () { return 12345; }} }).wheelDeltaY is 12345
+PASS new WheelEvent('eventType', { deltaX: 0 }).deltaX is 0
+PASS new WheelEvent('eventType', { deltaX: 2147483647 }).deltaX is 2147483647
+PASS new WheelEvent('eventType', { deltaX: -1 }).deltaX is -1
+PASS new WheelEvent('eventType', { deltaX: -2147483648 }).deltaX is -2147483648
+PASS new WheelEvent('eventType', { deltaX: 4294967295 }).deltaX is 4294967295
+PASS new WheelEvent('eventType', { deltaX: 9007199254740991 }).deltaX is 9007199254740991
+PASS new WheelEvent('eventType', { deltaX: 18446744073709551615 }).deltaX is 18446744073709551615
+PASS new WheelEvent('eventType', { deltaX: 123.45 }).deltaX is 123.45
+PASS new WheelEvent('eventType', { deltaX: NaN }).deltaX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaX: undefined }).deltaX is 0
+PASS new WheelEvent('eventType', { deltaX: null }).deltaX is 0
+PASS new WheelEvent('eventType', { deltaX: '' }).deltaX is 0
+PASS new WheelEvent('eventType', { deltaX: '12345' }).deltaX is 12345
+PASS new WheelEvent('eventType', { deltaX: '12345a' }).deltaX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaX: 'abc' }).deltaX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaX: [] }).deltaX is 0
+PASS new WheelEvent('eventType', { deltaX: [12345] }).deltaX is 12345
+PASS new WheelEvent('eventType', { deltaX: [12345, 67890] }).deltaX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaX: {} }).deltaX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaX: {moemoe: 12345} }).deltaX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaX: {valueOf: function () { return 12345; }} }).deltaX is 12345
+PASS new WheelEvent('eventType', { deltaY: 0 }).deltaY is 0
+PASS new WheelEvent('eventType', { deltaY: 2147483647 }).deltaY is 2147483647
+PASS new WheelEvent('eventType', { deltaY: -1 }).deltaY is -1
+PASS new WheelEvent('eventType', { deltaY: -2147483648 }).deltaY is -2147483648
+PASS new WheelEvent('eventType', { deltaY: 4294967295 }).deltaY is 4294967295
+PASS new WheelEvent('eventType', { deltaY: 9007199254740991 }).deltaY is 9007199254740991
+PASS new WheelEvent('eventType', { deltaY: 18446744073709551615 }).deltaY is 18446744073709551615
+PASS new WheelEvent('eventType', { deltaY: 123.45 }).deltaY is 123.45
+PASS new WheelEvent('eventType', { deltaY: NaN }).deltaY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaY: undefined }).deltaY is 0
+PASS new WheelEvent('eventType', { deltaY: null }).deltaY is 0
+PASS new WheelEvent('eventType', { deltaY: '' }).deltaY is 0
+PASS new WheelEvent('eventType', { deltaY: '12345' }).deltaY is 12345
+PASS new WheelEvent('eventType', { deltaY: '12345a' }).deltaY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaY: 'abc' }).deltaY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaY: [] }).deltaY is 0
+PASS new WheelEvent('eventType', { deltaY: [12345] }).deltaY is 12345
+PASS new WheelEvent('eventType', { deltaY: [12345, 67890] }).deltaY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaY: {} }).deltaY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaY: {moemoe: 12345} }).deltaY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaY: {valueOf: function () { return 12345; }} }).deltaY is 12345
+PASS new WheelEvent('eventType', { deltaZ: 0 }).deltaZ is 0
+PASS new WheelEvent('eventType', { deltaZ: 2147483647 }).deltaZ is 2147483647
+PASS new WheelEvent('eventType', { deltaZ: -1 }).deltaZ is -1
+PASS new WheelEvent('eventType', { deltaZ: -2147483648 }).deltaZ is -2147483648
+PASS new WheelEvent('eventType', { deltaZ: 4294967295 }).deltaZ is 4294967295
+PASS new WheelEvent('eventType', { deltaZ: 9007199254740991 }).deltaZ is 9007199254740991
+PASS new WheelEvent('eventType', { deltaZ: 18446744073709551615 }).deltaZ is 18446744073709551615
+PASS new WheelEvent('eventType', { deltaZ: 123.45 }).deltaZ is 123.45
+PASS new WheelEvent('eventType', { deltaZ: NaN }).deltaZ threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaZ: undefined }).deltaZ is 0
+PASS new WheelEvent('eventType', { deltaZ: null }).deltaZ is 0
+PASS new WheelEvent('eventType', { deltaZ: '' }).deltaZ is 0
+PASS new WheelEvent('eventType', { deltaZ: '12345' }).deltaZ is 12345
+PASS new WheelEvent('eventType', { deltaZ: '12345a' }).deltaZ threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaZ: 'abc' }).deltaZ threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaZ: [] }).deltaZ is 0
+PASS new WheelEvent('eventType', { deltaZ: [12345] }).deltaZ is 12345
+PASS new WheelEvent('eventType', { deltaZ: [12345, 67890] }).deltaZ threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaZ: {} }).deltaZ threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaZ: {moemoe: 12345} }).deltaZ threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite..
+PASS new WheelEvent('eventType', { deltaZ: {valueOf: function () { return 12345; }} }).deltaZ is 12345
PASS new WheelEvent('eventType', { deltaMode: 0 }).deltaMode is 0
PASS new WheelEvent('eventType', { deltaMode: 1 }).deltaMode is 1
PASS new WheelEvent('eventType', { deltaMode: 4294967294 }).deltaMode is 4294967294
« 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