Index: LayoutTests/fast/events/constructors/mouse-event-constructor-expected.txt |
diff --git a/LayoutTests/fast/events/constructors/mouse-event-constructor-expected.txt b/LayoutTests/fast/events/constructors/mouse-event-constructor-expected.txt |
index 14312b381d26d53701d684c2375b9f8711f531b3..f71a1c08a6e003ae749fab20dddd8bddf9ee1828 100644 |
--- a/LayoutTests/fast/events/constructors/mouse-event-constructor-expected.txt |
+++ b/LayoutTests/fast/events/constructors/mouse-event-constructor-expected.txt |
@@ -154,7 +154,9 @@ PASS new MouseEvent('eventType', { metaKey: false }).metaKey is false |
PASS new MouseEvent('eventType', { metaKey: true }).metaKey is true |
PASS new MouseEvent('eventType', { button: 0 }).button is 0 |
PASS new MouseEvent('eventType', { button: 1 }).button is 1 |
-PASS new MouseEvent('eventType', { button: 65534 }).button is 65534 |
+PASS new MouseEvent('eventType', { button: -2 }).button is -2 |
+PASS new MouseEvent('eventType', { button: -32768 }).button is -32768 |
+PASS new MouseEvent('eventType', { button: 32767 }).button is 32767 |
PASS new MouseEvent('eventType', { button: 65535 }).button is 0 |
PASS new MouseEvent('eventType', { button: 9007199254740991 }).button is 0 |
PASS new MouseEvent('eventType', { button: -1 }).button is 0 |
@@ -162,6 +164,9 @@ PASS new MouseEvent('eventType', { button: 18446744073709551615 }).button is 0 |
PASS new MouseEvent('eventType', { button: 12345678901234567890 }).button is 2048 |
PASS new MouseEvent('eventType', { button: 123.45 }).button is 123 |
PASS new MouseEvent('eventType', { button: NaN }).button is 0 |
+PASS new MouseEvent('eventType', { button: 65534 }).button is -2 |
+PASS new MouseEvent('eventType', { button: -32769 }).button is 32767 |
+PASS new MouseEvent('eventType', { button: 32768 }).button is -32768 |
PASS new MouseEvent('eventType', { button: undefined }).button is 0 |
PASS new MouseEvent('eventType', { button: null }).button is 0 |
PASS new MouseEvent('eventType', { button: '' }).button is 0 |