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

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

Issue 1165693005: Change MouseEvent.button to be 'short' instead of 'unsigned short' (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « LayoutTests/fast/events/constructors/wheel-event-constructor.html ('k') | Source/core/events/MouseEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « LayoutTests/fast/events/constructors/wheel-event-constructor.html ('k') | Source/core/events/MouseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698