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 155f58b1798467968e73f0190cd4f7b0a18889a8..1458c6d44e83aed537c52b84c3c5790b3dcbcd79 100644 |
--- a/LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt |
+++ b/LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt |
@@ -286,7 +286,9 @@ PASS new WheelEvent('eventType', { metaKey: false }).metaKey is false |
PASS new WheelEvent('eventType', { metaKey: true }).metaKey is true |
PASS new WheelEvent('eventType', { button: 0 }).button is 0 |
PASS new WheelEvent('eventType', { button: 1 }).button is 1 |
-PASS new WheelEvent('eventType', { button: 65534 }).button is 65534 |
+PASS new WheelEvent('eventType', { button: -2 }).button is -2 |
+PASS new WheelEvent('eventType', { button: -32768 }).button is -32768 |
+PASS new WheelEvent('eventType', { button: 32767 }).button is 32767 |
PASS new WheelEvent('eventType', { button: 65535 }).button is 0 |
PASS new WheelEvent('eventType', { button: 9007199254740991 }).button is 0 |
PASS new WheelEvent('eventType', { button: -1 }).button is 0 |
@@ -294,6 +296,9 @@ PASS new WheelEvent('eventType', { button: 18446744073709551615 }).button is 0 |
PASS new WheelEvent('eventType', { button: 12345678901234567890 }).button is 2048 |
PASS new WheelEvent('eventType', { button: 123.45 }).button is 123 |
PASS new WheelEvent('eventType', { button: NaN }).button is 0 |
+PASS new WheelEvent('eventType', { button: 65534 }).button is -2 |
+PASS new WheelEvent('eventType', { button: -32769 }).button is 32767 |
+PASS new WheelEvent('eventType', { button: 32768 }).button is -32768 |
PASS new WheelEvent('eventType', { button: undefined }).button is 0 |
PASS new WheelEvent('eventType', { button: null }).button is 0 |
PASS new WheelEvent('eventType', { button: '' }).button is 0 |