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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html

Issue 1426643008: Cleaning up PointerIdManager and add id re-mapping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix EXPECT_EQ compilation error on Android Created 5 years 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
Index: third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html b/third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html
index e542c3f7fd0b9c676327b1cc0fc62e18d3a5d58f..0b0f11893c3a800ea3375feee917b0c1ec26d26e 100644
--- a/third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html
+++ b/third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-event-properties.html
@@ -20,8 +20,8 @@ async_test(function() {
function checkPointerEvent(event) {
receivedPointerEvents.push(event);
test(function() {
- assert_between_inclusive(event.pointerId, 0, POINTER_PROPERTIES.length - 1);
- var pp = POINTER_PROPERTIES[event.pointerId];
+ assert_between_inclusive(event.pointerId, 1, POINTER_PROPERTIES.length);
+ var pp = POINTER_PROPERTIES[event.pointerId-1];
for ( var i in pp )
assert_equals(event[i], pp[i], "" + i);
}, "Pointer event properties for pointer " + event.pointerId + " on " + event.type);

Powered by Google App Engine
This is Rietveld 408576698