Index: third_party/WebKit/LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt b/third_party/WebKit/LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt |
index 1458c6d44e83aed537c52b84c3c5790b3dcbcd79..7c73580dbcd27f1cfa5a13411c4c107c6fa590c9 100644 |
--- a/third_party/WebKit/LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt |
+++ b/third_party/WebKit/LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt |
@@ -63,88 +63,88 @@ PASS new WheelEvent('eventType', { detail: {} }).detail is 0 |
PASS new WheelEvent('eventType', { detail: {moemoe: 12345} }).detail is 0 |
PASS new WheelEvent('eventType', { detail: {valueOf: function () { return 12345; }} }).detail is 12345 |
PASS new WheelEvent('eventType', { screenX: 0 }).screenX is 0 |
-PASS new WheelEvent('eventType', { screenX: 2147483647 }).screenX is 2147483647 |
+PASS new WheelEvent('eventType', { screenX: 2147483647 }).screenX is 33554431 |
PASS new WheelEvent('eventType', { screenX: -1 }).screenX is -1 |
-PASS new WheelEvent('eventType', { screenX: -2147483648 }).screenX is -2147483648 |
-PASS new WheelEvent('eventType', { screenX: 4294967295 }).screenX is -1 |
-PASS new WheelEvent('eventType', { screenX: 9007199254740991 }).screenX is -1 |
-PASS new WheelEvent('eventType', { screenX: 18446744073709551615 }).screenX is 0 |
+PASS new WheelEvent('eventType', { screenX: -2147483648 }).screenX is -33554432 |
+PASS new WheelEvent('eventType', { screenX: 4294967295 }).screenX is 33554431 |
+PASS new WheelEvent('eventType', { screenX: 9007199254740991 }).screenX is 33554431 |
+PASS new WheelEvent('eventType', { screenX: 18446744073709551615 }).screenX is 33554431 |
PASS new WheelEvent('eventType', { screenX: 123.45 }).screenX is 123 |
-PASS new WheelEvent('eventType', { screenX: NaN }).screenX is 0 |
+PASS new WheelEvent('eventType', { screenX: NaN }).screenX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
PASS new WheelEvent('eventType', { screenX: undefined }).screenX is 0 |
PASS new WheelEvent('eventType', { screenX: null }).screenX is 0 |
PASS new WheelEvent('eventType', { screenX: '' }).screenX is 0 |
PASS new WheelEvent('eventType', { screenX: '12345' }).screenX is 12345 |
-PASS new WheelEvent('eventType', { screenX: '12345a' }).screenX is 0 |
-PASS new WheelEvent('eventType', { screenX: 'abc' }).screenX is 0 |
+PASS new WheelEvent('eventType', { screenX: '12345a' }).screenX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
+PASS new WheelEvent('eventType', { screenX: 'abc' }).screenX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
PASS new WheelEvent('eventType', { screenX: [] }).screenX is 0 |
PASS new WheelEvent('eventType', { screenX: [12345] }).screenX is 12345 |
-PASS new WheelEvent('eventType', { screenX: [12345, 67890] }).screenX is 0 |
-PASS new WheelEvent('eventType', { screenX: {} }).screenX is 0 |
-PASS new WheelEvent('eventType', { screenX: {moemoe: 12345} }).screenX is 0 |
+PASS new WheelEvent('eventType', { screenX: [12345, 67890] }).screenX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
+PASS new WheelEvent('eventType', { screenX: {} }).screenX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
+PASS new WheelEvent('eventType', { screenX: {moemoe: 12345} }).screenX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
PASS new WheelEvent('eventType', { screenX: {valueOf: function () { return 12345; }} }).screenX is 12345 |
PASS new WheelEvent('eventType', { screenY: 0 }).screenY is 0 |
-PASS new WheelEvent('eventType', { screenY: 2147483647 }).screenY is 2147483647 |
+PASS new WheelEvent('eventType', { screenY: 2147483647 }).screenY is 33554431 |
PASS new WheelEvent('eventType', { screenY: -1 }).screenY is -1 |
-PASS new WheelEvent('eventType', { screenY: -2147483648 }).screenY is -2147483648 |
-PASS new WheelEvent('eventType', { screenY: 4294967295 }).screenY is -1 |
-PASS new WheelEvent('eventType', { screenY: 9007199254740991 }).screenY is -1 |
-PASS new WheelEvent('eventType', { screenY: 18446744073709551615 }).screenY is 0 |
+PASS new WheelEvent('eventType', { screenY: -2147483648 }).screenY is -33554432 |
+PASS new WheelEvent('eventType', { screenY: 4294967295 }).screenY is 33554431 |
+PASS new WheelEvent('eventType', { screenY: 9007199254740991 }).screenY is 33554431 |
+PASS new WheelEvent('eventType', { screenY: 18446744073709551615 }).screenY is 33554431 |
PASS new WheelEvent('eventType', { screenY: 123.45 }).screenY is 123 |
-PASS new WheelEvent('eventType', { screenY: NaN }).screenY is 0 |
+PASS new WheelEvent('eventType', { screenY: NaN }).screenY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
PASS new WheelEvent('eventType', { screenY: undefined }).screenY is 0 |
PASS new WheelEvent('eventType', { screenY: null }).screenY is 0 |
PASS new WheelEvent('eventType', { screenY: '' }).screenY is 0 |
PASS new WheelEvent('eventType', { screenY: '12345' }).screenY is 12345 |
-PASS new WheelEvent('eventType', { screenY: '12345a' }).screenY is 0 |
-PASS new WheelEvent('eventType', { screenY: 'abc' }).screenY is 0 |
+PASS new WheelEvent('eventType', { screenY: '12345a' }).screenY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
+PASS new WheelEvent('eventType', { screenY: 'abc' }).screenY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
PASS new WheelEvent('eventType', { screenY: [] }).screenY is 0 |
PASS new WheelEvent('eventType', { screenY: [12345] }).screenY is 12345 |
-PASS new WheelEvent('eventType', { screenY: [12345, 67890] }).screenY is 0 |
-PASS new WheelEvent('eventType', { screenY: {} }).screenY is 0 |
-PASS new WheelEvent('eventType', { screenY: {moemoe: 12345} }).screenY is 0 |
+PASS new WheelEvent('eventType', { screenY: [12345, 67890] }).screenY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
+PASS new WheelEvent('eventType', { screenY: {} }).screenY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
+PASS new WheelEvent('eventType', { screenY: {moemoe: 12345} }).screenY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
PASS new WheelEvent('eventType', { screenY: {valueOf: function () { return 12345; }} }).screenY is 12345 |
PASS new WheelEvent('eventType', { clientX: 0 }).clientX is 0 |
PASS new WheelEvent('eventType', { clientX: 2147483647 }).clientX is 33554431 |
PASS new WheelEvent('eventType', { clientX: -1 }).clientX is -1 |
PASS new WheelEvent('eventType', { clientX: -2147483648 }).clientX is -33554432 |
-PASS new WheelEvent('eventType', { clientX: 4294967295 }).clientX is -1 |
-PASS new WheelEvent('eventType', { clientX: 9007199254740991 }).clientX is -1 |
-PASS new WheelEvent('eventType', { clientX: 18446744073709551615 }).clientX is 0 |
+PASS new WheelEvent('eventType', { clientX: 4294967295 }).clientX is 33554431 |
+PASS new WheelEvent('eventType', { clientX: 9007199254740991 }).clientX is 33554431 |
+PASS new WheelEvent('eventType', { clientX: 18446744073709551615 }).clientX is 33554431 |
PASS new WheelEvent('eventType', { clientX: 123.45 }).clientX is 123 |
-PASS new WheelEvent('eventType', { clientX: NaN }).clientX is 0 |
+PASS new WheelEvent('eventType', { clientX: NaN }).clientX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
PASS new WheelEvent('eventType', { clientX: undefined }).clientX is 0 |
PASS new WheelEvent('eventType', { clientX: null }).clientX is 0 |
PASS new WheelEvent('eventType', { clientX: '' }).clientX is 0 |
PASS new WheelEvent('eventType', { clientX: '12345' }).clientX is 12345 |
-PASS new WheelEvent('eventType', { clientX: '12345a' }).clientX is 0 |
-PASS new WheelEvent('eventType', { clientX: 'abc' }).clientX is 0 |
+PASS new WheelEvent('eventType', { clientX: '12345a' }).clientX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
+PASS new WheelEvent('eventType', { clientX: 'abc' }).clientX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
PASS new WheelEvent('eventType', { clientX: [] }).clientX is 0 |
PASS new WheelEvent('eventType', { clientX: [12345] }).clientX is 12345 |
-PASS new WheelEvent('eventType', { clientX: [12345, 67890] }).clientX is 0 |
-PASS new WheelEvent('eventType', { clientX: {} }).clientX is 0 |
-PASS new WheelEvent('eventType', { clientX: {moemoe: 12345} }).clientX is 0 |
+PASS new WheelEvent('eventType', { clientX: [12345, 67890] }).clientX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
+PASS new WheelEvent('eventType', { clientX: {} }).clientX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
+PASS new WheelEvent('eventType', { clientX: {moemoe: 12345} }).clientX threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
PASS new WheelEvent('eventType', { clientX: {valueOf: function () { return 12345; }} }).clientX is 12345 |
PASS new WheelEvent('eventType', { clientY: 0 }).clientY is 0 |
PASS new WheelEvent('eventType', { clientY: 2147483647 }).clientY is 33554431 |
PASS new WheelEvent('eventType', { clientY: -1 }).clientY is -1 |
PASS new WheelEvent('eventType', { clientY: -2147483648 }).clientY is -33554432 |
-PASS new WheelEvent('eventType', { clientY: 4294967295 }).clientY is -1 |
-PASS new WheelEvent('eventType', { clientY: 9007199254740991 }).clientY is -1 |
-PASS new WheelEvent('eventType', { clientY: 18446744073709551615 }).clientY is 0 |
+PASS new WheelEvent('eventType', { clientY: 4294967295 }).clientY is 33554431 |
+PASS new WheelEvent('eventType', { clientY: 9007199254740991 }).clientY is 33554431 |
+PASS new WheelEvent('eventType', { clientY: 18446744073709551615 }).clientY is 33554431 |
PASS new WheelEvent('eventType', { clientY: 123.45 }).clientY is 123 |
-PASS new WheelEvent('eventType', { clientY: NaN }).clientY is 0 |
+PASS new WheelEvent('eventType', { clientY: NaN }).clientY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
PASS new WheelEvent('eventType', { clientY: undefined }).clientY is 0 |
PASS new WheelEvent('eventType', { clientY: null }).clientY is 0 |
PASS new WheelEvent('eventType', { clientY: '' }).clientY is 0 |
PASS new WheelEvent('eventType', { clientY: '12345' }).clientY is 12345 |
-PASS new WheelEvent('eventType', { clientY: '12345a' }).clientY is 0 |
-PASS new WheelEvent('eventType', { clientY: 'abc' }).clientY is 0 |
+PASS new WheelEvent('eventType', { clientY: '12345a' }).clientY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
+PASS new WheelEvent('eventType', { clientY: 'abc' }).clientY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
PASS new WheelEvent('eventType', { clientY: [] }).clientY is 0 |
PASS new WheelEvent('eventType', { clientY: [12345] }).clientY is 12345 |
-PASS new WheelEvent('eventType', { clientY: [12345, 67890] }).clientY is 0 |
-PASS new WheelEvent('eventType', { clientY: {} }).clientY is 0 |
-PASS new WheelEvent('eventType', { clientY: {moemoe: 12345} }).clientY is 0 |
+PASS new WheelEvent('eventType', { clientY: [12345, 67890] }).clientY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
+PASS new WheelEvent('eventType', { clientY: {} }).clientY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
+PASS new WheelEvent('eventType', { clientY: {moemoe: 12345} }).clientY threw exception TypeError: Failed to construct 'WheelEvent': The provided double value is non-finite.. |
PASS new WheelEvent('eventType', { clientY: {valueOf: function () { return 12345; }} }).clientY is 12345 |
PASS new WheelEvent('eventType', { wheelDeltaX: 0 }).wheelDeltaX is 0 |
PASS new WheelEvent('eventType', { wheelDeltaX: 2147483647 }).wheelDeltaX is 2147483647 |