Index: LayoutTests/fast/events/constructors/wheel-event-constructor.html |
diff --git a/LayoutTests/fast/events/constructors/wheel-event-constructor.html b/LayoutTests/fast/events/constructors/wheel-event-constructor.html |
index 03a92936bfa99ecfa1920c21e6a02ba0c1b1c8ca..06e1c4024bddbf071217c63c4dea4696308877a1 100644 |
--- a/LayoutTests/fast/events/constructors/wheel-event-constructor.html |
+++ b/LayoutTests/fast/events/constructors/wheel-event-constructor.html |
@@ -170,17 +170,16 @@ shouldBe("new WheelEvent('eventType', { deltaMode: {valueOf: function () { retur |
}); |
// button is passed. |
-// Numbers within the unsigned short range. |
+// Numbers within the short range. |
shouldBe("new WheelEvent('eventType', { button: 0 }).button", "0"); |
shouldBe("new WheelEvent('eventType', { button: 1 }).button", "1"); |
-shouldBe("new WheelEvent('eventType', { button: 65534 }).button", "65534"); |
philipj_slow
2015/06/10 08:46:25
Ditto.
ramya.v
2015/06/10 09:21:28
Done.
|
-// Numbers that are equal to ((unsigned short)-1) should be treated as 0. |
+// Numbers that are equal to -1 should be treated as 0. |
shouldBe("new WheelEvent('eventType', { button: 65535 }).button", "0"); |
shouldBe("new WheelEvent('eventType', { button: 9007199254740991 }).button", "0"); |
shouldBe("new WheelEvent('eventType', { button: -1 }).button", "0"); |
-// Numbers out of the unsigned short range. |
+// Numbers out of the short range. |
// 2^{64}-1 |
shouldBe("new WheelEvent('eventType', { button: 18446744073709551615 }).button", "0"); |
shouldBe("new WheelEvent('eventType', { button: 12345678901234567890 }).button", "2048"); |