Index: third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html b/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html |
index 4610806b3fca31a59a368ebd7b250852c15e2e2c..89149468a5d23d494f6b09d4142b43c8d1d2289c 100644 |
--- a/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html |
+++ b/third_party/WebKit/LayoutTests/external/wpt/pointerevents/extension/pointerevent_coalesced_events_attributes-manual.html |
@@ -77,9 +77,15 @@ |
test (function() { |
for (var i=0; i<coalescedEvents.length; i++) { |
assert_equals(coalescedEvents[i].isTrusted, true, 'isTrusted flag should be true for coalesced events.'); |
+ if (i > 0) |
+ assert_greater_than_equal(coalescedEvents[i].timeStamp, coalescedEvents[i-1].timeStamp, 'Time stamps of coalesced events must be ascending.'); |
} |
}, expectedPointerType + ' pointermove coalesced events should all be marked as trusted.'); |
test (function() { |
+ for (var i=1; i<coalescedEvents.length; i++) |
+ assert_greater_than_equal(coalescedEvents[i].timeStamp, coalescedEvents[i-1].timeStamp, 'Time stamps of coalesced events must be ascending.'); |
+ }, expectedPointerType + ' time stamps of coalesced events must be ascending.'); |
+ test (function() { |
for (var i=0; i<coalescedEvents.length; i++) { |
assert_equals(coalescedEvents[i].bubbles, false, 'Bubbles attribute should be false for coalesced events.'); |
assert_equals(coalescedEvents[i].cancelable, false, 'Cancelable attribute should be false for coalesced events.'); |