Changeset 245820 in webkit
- Timestamp:
- May 28, 2019 12:08:21 PM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r245818 r245820 1 2019-05-28 Antoine Quint <graouts@apple.com> 2 3 [Pointer Events WPT] Unflake imported/w3c/web-platform-tests/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse.html 4 https://bugs.webkit.org/show_bug.cgi?id=197008 5 6 Reviewed by Jon Lee. 7 8 We raised an issue on the WPT test which was testing the event timestamp in an invalid manner (see https://github.com/w3c/pointerevents/issues/284 9 and https://github.com/web-platform-tests/wpt/issues/170160). As a result this test now passes reliably, so we can update the expected out and 10 the TestExpectations. 11 12 * platform/mac/TestExpectations: 13 1 14 2019-05-28 Antti Koivisto <antti@apple.com> 2 15 -
trunk/LayoutTests/imported/w3c/ChangeLog
r245798 r245820 1 2019-05-28 Antoine Quint <graouts@apple.com> 2 3 [Pointer Events WPT] Unflake imported/w3c/web-platform-tests/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse.html 4 https://bugs.webkit.org/show_bug.cgi?id=197008 5 6 Reviewed by Jon Lee. 7 8 We raised an issue on the WPT test which was testing the event timestamp in an invalid manner (see https://github.com/w3c/pointerevents/issues/284 9 and https://github.com/web-platform-tests/wpt/issues/170160). As a result this test now passes reliably, so we can update the expected out and 10 the TestExpectations. 11 12 * web-platform-tests/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse-expected.txt: 13 * web-platform-tests/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse.html: 14 1 15 2019-05-27 Oriol Brufau <obrufau@igalia.com> 2 16 -
trunk/LayoutTests/imported/w3c/web-platform-tests/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse-expected.txt
r244393 r245820 11 11 The following pointer types were detected: mouse. 12 12 13 The following events were logged: mouse up@target0, mousedown@target1, mousemove@target1, mouseup@target1.13 The following events were logged: mousedown@target1, mousemove@target1, mouseup@target1. 14 14 15 16 Harness Error (FAIL), message = 1 duplicate test name: "mouseup's time stamp should be the same as pointerup's time stamp."17 15 18 16 PASS Suppress compat mouse events on drag 19 17 PASS primary pointer pointerdown@target0 20 PASS mouseup's time stamp should be the same as pointerup's time stamp.21 PASS Pointer Event: Suppress compatibility mouse events on drag22 18 PASS primary pointer pointerdown@target1 23 PASS mousedown's time stamp should be the same as pointerdown's time stamp. 24 PASS Pointer Event: Suppress compatibility mouse events on drag 1 25 PASS mousemove's time stamp should be the same as pointermove's time stamp. 26 FAIL Pointer Event: Suppress compatibility mouse events on drag 2 assert_equals: The time stamp of the compat mouse event should be the same as its pointerevent expected 100 but got 99 27 PASS mouseup's time stamp should be the same as pointerup's time stamp. 28 PASS Pointer Event: Suppress compatibility mouse events on drag 3 29 FAIL Event log assert_equals: expected "mousedown@target1, mousemove@target1, mouseup@target1" but got "mouseup@target0, mousedown@target1, mousemove@target1, mouseup@target1" 19 PASS Event log 30 20 -
trunk/LayoutTests/imported/w3c/web-platform-tests/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse.html
r244393 r245820 47 47 var pointer_event_list = ["pointerdown" , "pointermove", "pointerup"]; 48 48 var mouse_event_list = ["mousedown", "mouseup", "mousemove"]; 49 var last_pointer_event = null;50 49 51 50 target_list.forEach(function(targetId) { … … 65 64 if (label === "pointerdown@target0") 66 65 event.preventDefault(); 67 68 last_pointer_event = event;69 66 }); 70 67 }); … … 78 75 79 76 include_next_mousemove = (event.type == "mousedown"); 80 test(function() {81 test(function () {82 assert_equals(event.timeStamp, last_pointer_event.timeStamp, "The time stamp of the compat mouse event should be the same as its pointerevent");83 });84 }, event.type + "'s time stamp should be the same as " + last_pointer_event.type + "'s time stamp.");85 77 }); 86 78 }); -
trunk/LayoutTests/platform/mac/TestExpectations
r245773 r245820 1881 1881 1882 1882 webkit.org/b/197005 imported/w3c/web-platform-tests/pointerevents/pointerevent_lostpointercapture_is_first.html [ Skip ] 1883 webkit.org/b/197008 imported/w3c/web-platform-tests/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse.html [ Pass Failure ]1884 1883 webkit.org/b/197007 imported/w3c/web-platform-tests/pointerevents/pointerlock/pointerevent_coordinates_when_locked.html [ Skip ] 1885 1884 webkit.org/b/197009 imported/w3c/web-platform-tests/pointerevents/pointerevent_setpointercapture_invalid_pointerid.html [ Failure Pass ]
Note: See TracChangeset
for help on using the changeset viewer.