Bug 1852243 - [wpt] Enable async touch and wheel events for wpt but not wdspec tests. r=jgraham,hiro

Differential Revision: https://phabricator.services.mozilla.com/D188297
This commit is contained in:
Henrik Skupin 2023-10-06 06:13:19 +00:00
parent 27f9813b59
commit 25a9eb239b
81 changed files with 316 additions and 232 deletions

View File

@ -92,3 +92,5 @@ user_pref("security.webauth.webauthn_enable_android_fido2", false);
user_pref("security.webauth.webauthn_testing_allow_direct_attestation", true); user_pref("security.webauth.webauthn_testing_allow_direct_attestation", true);
// Disable captive portal service // Disable captive portal service
user_pref("network.captive-portal-service.enabled", false); user_pref("network.captive-portal-service.enabled", false);
// Ensure that any mouse wheel movement will trigger a new wheel transaction
user_pref("mousewheel.transaction.timeout", 0);

View File

@ -1,7 +0,0 @@
[overscroll-behavior.html]
prefs: [test.events.async.enabled:true]
[overscroll-behavior prevents scroll-propagation in the area and direction as specified]
expected:
if (os == "linux") and not debug and not fission: [PASS, FAIL]
if (os == "linux") and not debug and fission: [PASS, FAIL]
if os == "android": FAIL

View File

@ -1,3 +1,8 @@
[scroll-preserve-3d.html] [scroll-preserve-3d.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
if os == "linux": [OK, TIMEOUT]
[Element is scrollable over preserve-3d descendant]
expected:
if os == "linux": [PASS, TIMEOUT]

View File

@ -0,0 +1,5 @@
[non-passive-touchmove-event-listener-on-div.html]
[non-passive touchmove event listener on div]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,7 @@
[non-passive-touchmove-event-listener-on-document.html] [non-passive-touchmove-event-listener-on-document.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[non-passive touchmove event listener on document]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,7 @@
[non-passive-touchmove-event-listener-on-window.html] [non-passive-touchmove-event-listener-on-window.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[non-passive-touchmove-event-listener-on-window]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,7 @@
[non-passive-touchstart-event-listener-on-body.html] [non-passive-touchstart-event-listener-on-body.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[non-passive touchstart event listener on body]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,7 @@
[non-passive-touchstart-event-listener-on-div.html] [non-passive-touchstart-event-listener-on-div.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[non-passive touchstart event listener on div]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,7 @@
[non-passive-touchstart-event-listener-on-document.html] [non-passive-touchstart-event-listener-on-document.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[non-passive touchstart event listener on document]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,7 @@
[non-passive-touchstart-event-listener-on-root.html] [non-passive-touchstart-event-listener-on-root.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[non-passive touchstart event listener on root]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,7 @@
[non-passive-touchstart-event-listener-on-window.html] [non-passive-touchstart-event-listener-on-window.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[non-passive touchstart event listener on window]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,7 @@
[non-passive-wheel-event-listener-on-body.html] [non-passive-wheel-event-listener-on-body.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[non-passive wheel event listener on body]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,11 @@
[non-passive-wheel-event-listener-on-div.html] [non-passive-wheel-event-listener-on-div.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[non-passive touchstart event listener on div]
expected:
if os == "linux": [PASS, FAIL]
[non-passive wheel event listener on div]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,11 @@
[non-passive-wheel-event-listener-on-document.html] [non-passive-wheel-event-listener-on-document.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[non-passive touchstart event listener on document]
expected:
if os == "linux": [PASS, FAIL]
[non-passive wheel event listener on document]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,7 @@
[non-passive-wheel-event-listener-on-root.html] [non-passive-wheel-event-listener-on-root.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[non-passive wheel event listener on root]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,7 @@
[non-passive-wheel-event-listener-on-window.html] [non-passive-wheel-event-listener-on-window.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[non-passive wheel event listener on window]
expected:
if os == "linux": [PASS, FAIL]

View File

@ -0,0 +1,5 @@
[iframe-chains.html]
[Wheel scroll in iframe chains to containing element.]
expected:
if os == "android": FAIL
if os == "linux": [PASS, FAIL]

View File

@ -1,7 +1,8 @@
[overscroll-deltas.html] [overscroll-deltas.html]
expected: expected:
if (os == "linux") and not debug: [ERROR, OK, TIMEOUT] if os == "android": ERROR
ERROR [OK, TIMEOUT]
[Tests that the document gets overscroll event with right deltaX/Y attributes.] [Tests that the document gets overscroll event with right deltaX/Y attributes.]
expected: expected:
if (os == "win") and ccov: FAIL if (os == "win") and ccov: FAIL

View File

@ -1,10 +1,4 @@
[scrollend-event-fired-after-sequence-of-scrolls.tentative.html] [scrollend-event-fired-after-sequence-of-scrolls.tentative.html]
[Move down, up and down again, receive scrollend event only once] [Move down, up and down again, receive scrollend event only once]
expected: expected:
if os == "mac": PASS if os == "win": [PASS, FAIL]
FAIL
[Move right, left and right again, receive scrollend event only once]
expected:
if os == "mac": PASS
FAIL

View File

@ -1,32 +0,0 @@
[scrollend-event-fired-after-snap.html]
expected:
if (os == "linux") and not debug and (processor == "x86_64") and not fission: [OK, TIMEOUT]
if (os == "linux") and not debug and (processor == "x86_64") and fission: [OK, TIMEOUT]
if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, OK]
if (os == "win") and not debug: TIMEOUT
if (os == "win") and debug: [TIMEOUT, OK]
if (os == "mac") and not debug: TIMEOUT
if (os == "mac") and debug: [OK, TIMEOUT]
[Tests that scrollend is fired after scroll snap animation completion.]
expected:
if (os == "win") and ccov: FAIL
if (os == "linux") and not debug and (processor == "x86_64") and not fission: [FAIL, TIMEOUT]
if (os == "linux") and not debug and (processor == "x86_64") and fission: [FAIL, TIMEOUT]
if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, FAIL]
if (os == "win") and not debug: TIMEOUT
if (os == "mac") and debug: [FAIL, TIMEOUT]
if (os == "mac") and not debug: TIMEOUT
FAIL
[Tests that scrollend is fired after fling snap animation completion.]
expected:
if (os == "linux") and ccov: TIMEOUT
if (os == "win") and ccov: TIMEOUT
if (os == "linux") and not debug and (processor == "x86_64") and fission: [FAIL, NOTRUN]
if (os == "linux") and not debug and (processor == "x86_64") and not fission: [FAIL, NOTRUN]
if (os == "linux") and not debug and (processor == "x86"): [NOTRUN, FAIL]
if (os == "win") and debug: [TIMEOUT, FAIL]
if (os == "win") and not debug: NOTRUN
if (os == "mac") and debug: [FAIL, NOTRUN]
if (os == "mac") and not debug: NOTRUN
FAIL

View File

@ -1,21 +0,0 @@
[scrollend-event-fired-to-document.html]
expected:
if (os == "mac") and debug: [ERROR, OK, TIMEOUT]
if (os == "linux") and not debug: [ERROR, OK, TIMEOUT]
ERROR
[Tests that the document gets scrollend event when no element scrolls by touch.]
expected:
if (os == "win") and ccov: FAIL
if (os == "linux") and not debug and (processor == "x86_64") and fission: [TIMEOUT, FAIL]
if (os == "linux") and not debug and (processor == "x86_64") and not fission: [TIMEOUT, FAIL]
if (os == "linux") and not debug and (processor == "x86"): [TIMEOUT, FAIL]
if (os == "win") and not debug: TIMEOUT
if (os == "mac") and debug: [FAIL, TIMEOUT]
if (os == "mac") and not debug: TIMEOUT
FAIL
[testing, vertical]
expected: FAIL
[testing, horizontal]
expected: FAIL

View File

@ -3,6 +3,7 @@
if (os == "win") and ccov: OK if (os == "win") and ccov: OK
if (os == "linux") and not debug: [OK, TIMEOUT] if (os == "linux") and not debug: [OK, TIMEOUT]
if (os == "mac") and debug: [OK, TIMEOUT] if (os == "mac") and debug: [OK, TIMEOUT]
[Tests that the last element in the cut scroll chain gets scrollend event when no element scrolls by touch.] [Tests that the last element in the cut scroll chain gets scrollend event when no element scrolls by touch.]
expected: expected:
if (os == "win") and ccov: FAIL if (os == "win") and ccov: FAIL
@ -13,3 +14,8 @@
if (os == "mac") and debug: [FAIL, TIMEOUT] if (os == "mac") and debug: [FAIL, TIMEOUT]
if (os == "mac") and not debug: TIMEOUT if (os == "mac") and not debug: TIMEOUT
FAIL FAIL
[Tests that the scroll is not propagated beyond div with non-auto overscroll-behavior.]
expected:
if os == "mac": FAIL
if os == "win": [PASS, FAIL]

View File

@ -1,16 +0,0 @@
[scrollend-event-fired-to-window.html]
expected:
if (os == "win") and ccov: OK
if (os == "linux") and not debug: [OK, TIMEOUT]
[Tests that the window gets scrollend event when no element scrolls after touch scrolling.]
expected:
if (os == "win") and ccov: FAIL
if not debug and (os == "linux") and (processor == "x86_64") and not fission: [TIMEOUT, FAIL]
if not debug and (os == "linux") and (processor == "x86_64") and fission: [TIMEOUT, FAIL]
if not debug and (os == "linux") and (processor == "x86"): [TIMEOUT, FAIL]
if not debug and (os == "win"): TIMEOUT
if not debug and (os == "mac"): TIMEOUT
FAIL
[testing, vertical]
expected: FAIL

View File

@ -2,9 +2,9 @@
expected: expected:
if (os == "win") and (processor == "x86") and debug: TIMEOUT if (os == "win") and (processor == "x86") and debug: TIMEOUT
if (os == "win") and (processor == "x86") and not debug: [OK, TIMEOUT] if (os == "win") and (processor == "x86") and not debug: [OK, TIMEOUT]
if (os == "mac") and not debug: [OK, TIMEOUT] if (os == "mac"): [OK, TIMEOUT]
[Allow delaying autoplay until video elements become visible] [Allow delaying autoplay until video elements become visible]
expected: expected:
if (os == "win") and (processor == "x86") and debug: TIMEOUT if (os == "win") and (processor == "x86") and debug: TIMEOUT
if (os == "win") and (processor == "x86") and not debug: [PASS, TIMEOUT] if (os == "win") and (processor == "x86") and not debug: [PASS, TIMEOUT]
if (os == "mac") and not debug: [PASS, TIMEOUT] if (os == "mac"): [PASS, TIMEOUT]

View File

@ -1,6 +1,7 @@
[popover-light-dismiss.html] [popover-light-dismiss.html]
[Scrolling within a popover should not close the popover] [Scrolling within a popover should not close the popover]
expected: expected:
if os == "android": [PASS, FAIL]
if fission and (os == "linux") and not debug and (processor == "x86_64") and not asan and not tsan: [FAIL, PASS] if fission and (os == "linux") and not debug and (processor == "x86_64") and not asan and not tsan: [FAIL, PASS]
if not fission and (os == "linux") and not debug: [PASS, FAIL] if not fission and (os == "linux") and not debug: [PASS, FAIL]

View File

@ -1,3 +1,6 @@
[multiTouchPointsTwoTouchStarts.html] [multiTouchPointsTwoTouchStarts.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
[TestDriver actions: two touch points with one moving one pause]
expected: FAIL

View File

@ -1,23 +1,25 @@
[capturing_boundary_event_handler_at_ua_shadowdom.html?mouse] [capturing_boundary_event_handler_at_ua_shadowdom.html?mouse]
[capturing_boundary_event_handler_at_ua_shadowdom.html?pen] [capturing_boundary_event_handler_at_ua_shadowdom.html?pen]
[Capturing boundary event handler at DIV]
expected: FAIL
[Capturing boundary event handler at VIDEO] [Capturing boundary event handler at VIDEO]
expected: FAIL expected: FAIL
[Capturing boundary event handler at INPUT] [Capturing boundary event handler at INPUT]
expected: FAIL expected: FAIL
[Capturing boundary event handler at DIV]
expected: FAIL
[capturing_boundary_event_handler_at_ua_shadowdom.html?touch] [capturing_boundary_event_handler_at_ua_shadowdom.html?touch]
expected: TIMEOUT expected:
if os == "linux": [OK, TIMEOUT]
[Capturing boundary event handler at DIV] [Capturing boundary event handler at DIV]
expected: TIMEOUT expected:
if os == "linux": [PASS, FAIL, TIMEOUT]
[Capturing boundary event handler at VIDEO] [Capturing boundary event handler at VIDEO]
expected: NOTRUN expected: [PASS, NOTRUN]
[Capturing boundary event handler at INPUT] [Capturing boundary event handler at INPUT]
expected: NOTRUN expected: [PASS, NOTRUN]

View File

@ -11,8 +11,6 @@
[coalesced_events_attributes.html?touch] [coalesced_events_attributes.html?touch]
expected: TIMEOUT expected: TIMEOUT
[Coalesced list in pointerdown/move/up events]
expected: FAIL
[Coalesced list in pointercancel event] [Coalesced list in pointercancel event]
expected: TIMEOUT expected: TIMEOUT

View File

@ -1,6 +1,9 @@
[coalesced_events_attributes_under_load.html?touch] [coalesced_events_attributes_under_load.html?touch]
expected:
if os == "linux": [OK, TIMEOUT]
[Coalesced pointermoves under load] [Coalesced pointermoves under load]
expected: FAIL expected: [FAIL, TIMEOUT]
[coalesced_events_attributes_under_load.html?pen] [coalesced_events_attributes_under_load.html?pen]

View File

@ -1,7 +0,0 @@
[pointerevent_touch-action_two-finger_interaction.html]
expected: TIMEOUT
[touch two-finger pan on 'touch-action: pan-x pan-y']
expected: NOTRUN
[touch two-finger pan on 'touch-action: pinch-zoom']
expected: NOTRUN

View File

@ -69,13 +69,16 @@
[Inner frame mouse pointerenter's buttons is 0 when mouse buttons are in released state.] [Inner frame mouse pointerenter's buttons is 0 when mouse buttons are in released state.]
expected: FAIL expected: FAIL
[Inner frame mouse pointermove's type should be pointermove]
expected: FAIL
[Inner frame mouse pointerenter.fromElement value is null] [Inner frame mouse pointerenter.fromElement value is null]
expected: PRECONDITION_FAILED expected: PRECONDITION_FAILED
[Inner frame mouse pointerenter.toElement value is null] [Inner frame mouse pointerenter.toElement value is null]
expected: PRECONDITION_FAILED expected: PRECONDITION_FAILED
[Inner frame mouse pointermove's type should be pointermove] [Inner frame mouse pointerdown's type should be pointerdown]
expected: FAIL expected: FAIL
[Inner frame mouse pointerdown.fromElement value is null] [Inner frame mouse pointerdown.fromElement value is null]
@ -84,8 +87,11 @@
[Inner frame mouse pointerdown.toElement value is null] [Inner frame mouse pointerdown.toElement value is null]
expected: PRECONDITION_FAILED expected: PRECONDITION_FAILED
[Inner frame mouse pointerdown's type should be pointerdown] [Inner frame mouse pointermove.toElement value is null]
expected: FAIL expected: PRECONDITION_FAILED
[Inner frame mouse pointermove.fromElement value is null]
expected: PRECONDITION_FAILED
[Inner frame mouse pointerup.fromElement value is null] [Inner frame mouse pointerup.fromElement value is null]
expected: PRECONDITION_FAILED expected: PRECONDITION_FAILED

View File

@ -1,11 +1,8 @@
[pointerevent_boundary_events_in_capturing.html?touch]
[Boundary events around pointer capture and release]
expected: FAIL
[pointerevent_boundary_events_in_capturing.html?pen] [pointerevent_boundary_events_in_capturing.html?pen]
[Boundary events around pointer capture and release] [Boundary events around pointer capture and release]
expected: FAIL expected: FAIL
[pointerevent_boundary_events_in_capturing.html?touch]
[pointerevent_boundary_events_in_capturing.html?mouse] expected: TIMEOUT
[Boundary events around pointer capture and release]
expected: TIMEOUT

View File

@ -1,5 +1,4 @@
[pointerevent_change-touch-action-onpointerdown_touch.html] [pointerevent_change-touch-action-onpointerdown_touch.html.ini]
expected:
if (os == "android") and fission: [TIMEOUT, OK]
[scroll should be received before the test finishes] [scroll should be received before the test finishes]
expected: FAIL expected:
if os == "linux": [PASS, FAIL]

View File

@ -32,10 +32,10 @@
[pointerevent_click_is_a_pointerevent.html?touch] [pointerevent_click_is_a_pointerevent.html?touch]
expected: TIMEOUT expected: TIMEOUT
[click using touch is a PointerEvent with correct properties] [click using touch is a PointerEvent with correct properties]
expected: TIMEOUT expected: FAIL
[click using touch is a PointerEvent with correct properties when no other PointerEvent listeners are present] [click using touch is a PointerEvent with correct properties when no other PointerEvent listeners are present]
expected: NOTRUN expected: FAIL
[click using touch is a PointerEvent with correct properties in a subframe] [click using touch is a PointerEvent with correct properties in a subframe]
expected: NOTRUN expected: TIMEOUT

View File

@ -5,9 +5,8 @@
[pointerevent_click_is_a_pointerevent_multiple_clicks.html?touch] [pointerevent_click_is_a_pointerevent_multiple_clicks.html?touch]
expected: TIMEOUT
[click using touch is a PointerEvent] [click using touch is a PointerEvent]
expected: TIMEOUT expected: FAIL
[pointerevent_click_is_a_pointerevent_multiple_clicks.html?mouse] [pointerevent_click_is_a_pointerevent_multiple_clicks.html?mouse]

View File

@ -2,15 +2,19 @@
[contextmenu is a PointerEvent] [contextmenu is a PointerEvent]
expected: FAIL expected: FAIL
[pointerevent_contextmenu_is_a_pointerevent.html?touch] [pointerevent_contextmenu_is_a_pointerevent.html?touch]
expected: TIMEOUT expected:
if os == "linux": [OK, TIMEOUT]
[contextmenu using touch is a PointerEvent with correct properties] [contextmenu using touch is a PointerEvent with correct properties]
expected: TIMEOUT expected:
if os == "linux": [FAIL, TIMEOUT]
FAIL
[contextmenu using touch is a PointerEvent with correct properties when no other PointerEvent listeners are present] [contextmenu using touch is a PointerEvent with correct properties when no other PointerEvent listeners are present]
expected: NOTRUN expected:
if os == "linux": [FAIL, NOTRUN]
FAIL
[pointerevent_contextmenu_is_a_pointerevent.html?mouse] [pointerevent_contextmenu_is_a_pointerevent.html?mouse]
[contextmenu using mouse is a PointerEvent with correct properties] [contextmenu using mouse is a PointerEvent with correct properties]

View File

@ -4,7 +4,7 @@ prefs: [dom.forms.always_allow_pointer_events.enabled:true]
[pen pointerevent attributes] [pen pointerevent attributes]
expected: NOTRUN expected: NOTRUN
[pointerevent_disabled_form_control.html?touch] [pointerevent_disabled_form_control.html?touch]
expected: TIMEOUT
[pointerevent_disabled_form_control.html?mouse] [touch pointerevent attributes]
expected: NOTRUN

View File

@ -1,3 +1,8 @@
[pointerevent_hit_test_scroll.html] [pointerevent_hit_test_scroll.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
if os == "linux": [OK, TIMEOUT]
[Wheel-scroll over pointer-events: none scroller skips that scroller]
expected:
if os == "linux": [PASS, TIMEOUT]

View File

@ -1,3 +1,8 @@
[pointerevent_hit_test_scroll_visible_descendant.html] [pointerevent_hit_test_scroll_visible_descendant.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
if (os == "linux"): [OK, TIMEOUT]
[Wheel-scroll over pointer-events: auto descendant scrolls pointer-events: none scroller.]
expected:
if os == "linux": [PASS, TIMEOUT]

View File

@ -1,4 +1,4 @@
[pointerevent_iframe-touch-action-none_touch.html] [pointerevent_iframe-touch-action-none_touch.html]
expected: TIMEOUT
[touch iframe received pointercancel] [touch iframe received pointercancel]
expected: NOTRUN expected: FAIL

View File

@ -1,5 +1,12 @@
[pointerevent_pointercancel_touch.html] [pointerevent_pointercancel_touch.html]
expected: expected:
if (os == "android") and fission: [TIMEOUT, OK] if (os == "android") and fission: [TIMEOUT, OK]
[pointercancel event received] [pointercancel event received]
expected: FAIL expected: FAIL
[touch pointercancel.fromElement value is null]
expected: PRECONDITION_FAILED
[touch pointercancel.toElement value is null]
expected: PRECONDITION_FAILED

View File

@ -1,4 +1,22 @@
[pointerevent_pointercapture_in_frame.html?touch] [pointerevent_pointercapture_in_frame.html?touch]
expected:
if os == "linux": [OK, TIMEOUT]
[Test touchpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.]
expected:
if os == "linux": [PASS, TIMEOUT]
[Test touchpointer capture in same-origin frame: Pointer down at outer frame body and set pointer capture.]
expected:
if os == "linux": [PASS, NOTRUN]
[Test touchpointer capture in same-origin frame: Pointerdown with set capture at inner frame, then release on next pointermove.]
expected:
if os == "linux": [PASS, NOTRUN]
[Test touchpointer capture in same-origin frame: Pointerdown with set capture at outer frame, then release on next pointermove.]
expected:
if os == "linux": [PASS, NOTRUN]
[pointerevent_pointercapture_in_frame.html?pen] [pointerevent_pointercapture_in_frame.html?pen]
[Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.] [Test penpointer capture in same-origin frame: Pointer down at inner frame and set pointer capture.]

View File

@ -1,5 +0,0 @@
[pointerevent_pointerleave_after_pointercancel_touch.html]
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[pointerleave event received]
expected: FAIL

View File

@ -1,5 +0,0 @@
[pointerevent_pointerout_after_pointercancel_touch.html]
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[pointerout event received]
expected: FAIL

View File

@ -19,6 +19,8 @@
[pointerevent_releasepointercapture_events_to_original_target.html?touch] [pointerevent_releasepointercapture_events_to_original_target.html?touch]
expected: TIMEOUT
[touch gotpointercapture.fromElement value is null] [touch gotpointercapture.fromElement value is null]
expected: PRECONDITION_FAILED expected: PRECONDITION_FAILED
@ -30,3 +32,9 @@
[touch lostpointercapture.toElement value is null] [touch lostpointercapture.toElement value is null]
expected: PRECONDITION_FAILED expected: PRECONDITION_FAILED
[touch got/lost pointercapture: subsequent events to target]
expected: NOTRUN
[touch No other events should be recieved by capturing node after release]
expected: FAIL

View File

@ -1,3 +0,0 @@
[pointerevent_releasepointercapture_onpointercancel_touch.html]
[pointer capture is released on pointercancel]
expected: FAIL

View File

@ -3,11 +3,7 @@
[touch Event sequence at implicit release on click] [touch Event sequence at implicit release on click]
expected: NOTRUN expected: NOTRUN
[pointerevent_sequence_at_implicit_release_on_click.html?pen] [pointerevent_sequence_at_implicit_release_on_click.html?pen]
expected: ERROR expected: ERROR
[pen Event sequence at implicit release on click] [pen Event sequence at implicit release on click]
expected: NOTRUN expected: NOTRUN
[pointerevent_sequence_at_implicit_release_on_click.html?mouse]

View File

@ -1,5 +1,4 @@
[pointerevent_setpointercapture_inactive_button_mouse.html] [pointerevent_setpointercapture_inactive_button_mouse.html]
prefs: [test.events.async.enabled:true]
disabled: disabled:
if verify and (os == "mac"): https://bugzilla.mozilla.org/show_bug.cgi?id=1668959 if verify and (os == "mac"): https://bugzilla.mozilla.org/show_bug.cgi?id=1668959
expected: expected:
@ -7,5 +6,5 @@
[OK, TIMEOUT] [OK, TIMEOUT]
[setPointerCapture + inactive button state] [setPointerCapture + inactive button state]
expected: expected:
if os == "android": PASS if os == "android": FAIL
[PASS, NOTRUN] [PASS, NOTRUN]

View File

@ -1,3 +1,8 @@
[pointerevent_setpointercapture_pointerup_touch.html] [pointerevent_setpointercapture_pointerup_touch.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
if (os == "linux"): [OK, TIMEOUT]
[setPointerCapture on pointerup]
expected:
if (os == "linux"): [PASS, NOTRUN]

View File

@ -1,4 +1,7 @@
[pointerevent_touch-action-auto-css_touch.html] [pointerevent_touch-action-auto-css_touch.html]
expected: TIMEOUT expected:
if os == "linux": [OK, TIMEOUT]
[touch-action attribute test] [touch-action attribute test]
expected: TIMEOUT expected:
if os == "linux": [PASS, TIMEOUT]

View File

@ -1,4 +0,0 @@
[pointerevent_touch-action-button-none-test_touch.html]
expected: TIMEOUT
[touch-action attribute test in element]
expected: NOTRUN

View File

@ -1,4 +0,0 @@
[pointerevent_touch-action-inherit_child-auto-child-none_touch.html]
expected: TIMEOUT
[touch-action attribute test]
expected: NOTRUN

View File

@ -1,4 +0,0 @@
[pointerevent_touch-action-inherit_child-none_touch.html]
expected: TIMEOUT
[touch-action attribute test]
expected: NOTRUN

View File

@ -1,4 +1,4 @@
[pointerevent_touch-action-inherit_child-pan-x-child-pan-x_touch.html] [pointerevent_touch-action-inherit_child-pan-x-child-pan-x_touch.html]
expected: TIMEOUT
[touch-action attribute test] [touch-action attribute test]
expected: NOTRUN expected:
if os == "android": FAIL

View File

@ -1,4 +0,0 @@
[pointerevent_touch-action-inherit_child-pan-x-child-pan-y_touch.html]
expected: TIMEOUT
[touch-action attribute test]
expected: NOTRUN

View File

@ -1,4 +1,7 @@
[pointerevent_touch-action-inherit_highest-parent-none_touch.html] [pointerevent_touch-action-inherit_highest-parent-none_touch.html]
expected: TIMEOUT expected:
if os == "linux": [OK, TIMEOUT]
[touch-action attribute test] [touch-action attribute test]
expected: NOTRUN expected:
if os == "linux": [PASS, NOTRUN]

View File

@ -1,4 +1,5 @@
[pointerevent_touch-action-inherit_parent-none_touch.html] [pointerevent_touch-action-inherit_parent-none_touch.html]
expected: TIMEOUT expected:
[touch-action attribute test] if (os == "linux"): ERROR
expected: TIMEOUT if (os == "win"): ERROR
if (os == "android"): ERROR

View File

@ -0,0 +1,9 @@
[pointerevent_touch-action-mouse.html]
expected:
if os == "linux": [OK, TIMEOUT]
if os == "win": [OK, TIMEOUT]
[touch-action attribute test]
expected:
if os == "linux": [PASS, NOTRUN]
if os == "win": [PASS, NOTRUN]

View File

@ -1,4 +0,0 @@
[pointerevent_touch-action-none-css_touch.html]
expected: TIMEOUT
[touch-action attribute test]
expected: NOTRUN

View File

@ -1,4 +1,5 @@
[pointerevent_touch-action-pan-down-css_touch.html] [pointerevent_touch-action-pan-down-css_touch.html]
expected: TIMEOUT expected: ERROR
[touch-action attribute test] [touch-action attribute test]
expected: NOTRUN expected: FAIL

View File

@ -1,4 +1,4 @@
[pointerevent_touch-action-pan-left-css_touch.html] [pointerevent_touch-action-pan-left-css_touch.html]
expected: TIMEOUT expected: ERROR
[touch-action attribute test] [touch-action attribute test]
expected: NOTRUN expected: FAIL

View File

@ -1,4 +1,4 @@
[pointerevent_touch-action-pan-right-css_touch.html] [pointerevent_touch-action-pan-right-css_touch.html]
expected: TIMEOUT expected: ERROR
[touch-action attribute test] [touch-action attribute test]
expected: NOTRUN expected: FAIL

View File

@ -1,4 +1,4 @@
[pointerevent_touch-action-pan-up-css_touch.html] [pointerevent_touch-action-pan-up-css_touch.html]
expected: TIMEOUT expected: ERROR
[touch-action attribute test] [touch-action attribute test]
expected: NOTRUN expected: FAIL

View File

@ -1,4 +0,0 @@
[pointerevent_touch-action-pan-x-css_touch.html]
expected: TIMEOUT
[touch-action attribute test]
expected: NOTRUN

View File

@ -1,4 +0,0 @@
[pointerevent_touch-action-pan-x-pan-y-pan-y_touch.html]
expected: TIMEOUT
[touch-action attribute test]
expected: NOTRUN

View File

@ -1,4 +1,7 @@
[pointerevent_touch-action-pan-x-pan-y_touch.html] [pointerevent_touch-action-pan-x-pan-y_touch.html]
expected: TIMEOUT expected:
if os == "linux": [OK, TIMEOUT]
[touch-action attribute test] [touch-action attribute test]
expected: NOTRUN expected:
if os == "linux": [PASS, NOTRUN]

View File

@ -1,4 +1,5 @@
[pointerevent_touch-action-pan-y-css_touch.html] [pointerevent_touch-action-pan-y-css_touch.html]
expected: TIMEOUT
[touch-action attribute test] [touch-action attribute test]
expected: NOTRUN expected:
if os == "linux": [PASS, FAIL]

View File

@ -1,4 +0,0 @@
[pointerevent_touch-action-span-none-test_touch.html]
expected: TIMEOUT
[touch-action attribute test in element]
expected: NOTRUN

View File

@ -1,4 +0,0 @@
[pointerevent_touch-action-svg-none-test_touch.html]
expected: TIMEOUT
[touch-action attribute test in SVG]
expected: NOTRUN

View File

@ -1,7 +1,11 @@
[pointerevent_touch-action-table-none-test_touch.html] [pointerevent_touch-action-table-none-test_touch.html]
expected: TIMEOUT expected:
if os == "linux": [OK, TIMEOUT]
[touch-action attribute test on the cell] [touch-action attribute test on the cell]
expected: NOTRUN expected:
if os == "linux": [PASS, FAIL]
[touch-action attribute test on the row] [touch-action attribute test on the row]
expected: NOTRUN expected:
if os == "linux": [PASS, NOTRUN]

View File

@ -1,4 +1,8 @@
[pointerevent_touch-adjustment_click_target.html] [pointerevent_touch-adjustment_click_target.html]
expected: TIMEOUT expected:
if os == "linux": [OK, TIMEOUT]
[Touch-generated events should have the same target] [Touch-generated events should have the same target]
expected: TIMEOUT expected:
if os == "linux": [FAIL, TIMEOUT]
FAIL

View File

@ -2,11 +2,6 @@
[pointerup event from pen fired after pointerdown target is removed] [pointerup event from pen fired after pointerdown target is removed]
expected: FAIL expected: FAIL
[pointerup_after_pointerdown_target_removed.html?touch] [pointerup_after_pointerdown_target_removed.html?touch]
expected: TIMEOUT
[pointerup event from touch fired after pointerdown target is removed] [pointerup event from touch fired after pointerdown target is removed]
expected: TIMEOUT expected: FAIL
[pointerup_after_pointerdown_target_removed.html?mouse]

View File

@ -1,18 +1,37 @@
[touch-action-with-swipe-dir-change.html?touch] [touch-action-with-swipe-dir-change.html?touch]
expected:
if (os == "mac") and not debug: [OK, TIMEOUT]
[touch-action:auto with right,down swipe] [touch-action:auto with right,down swipe]
expected: FAIL expected:
if os == "linux": PASS
if os == "win": PASS
FAIL
[touch-action:auto with down,right swipe] [touch-action:auto with down,right swipe]
expected: FAIL expected:
if os == "linux": PASS
if os == "win": PASS
FAIL
[touch-action:pan-x with down,right swipe]
expected:
if os == "android": [PASS, FAIL]
[touch-action:pan-x with right,down swipe] [touch-action:pan-x with right,down swipe]
expected: FAIL expected:
if os == "android": [PASS, FAIL]
if os == "linux": [PASS, FAIL]
[touch-action:pan-y with right,down swipe]
expected:
if os == "android": [PASS, FAIL]
[touch-action:pan-y with down,right swipe] [touch-action:pan-y with down,right swipe]
expected: FAIL expected:
if os == "android": [PASS, FAIL]
[touch-action:none with right,down swipe]
expected:
if os == "android": [PASS, FAIL]
[touch-action:none with down,right swipe] [touch-action:none with down,right swipe]
expected: expected:
if (os == "mac") and not debug: [PASS, TIMEOUT] if os == "android": [PASS, FAIL]

View File

@ -1,3 +1,21 @@
[single-touch.html] [single-touch.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
if os == "android": [OK, TIMEOUT]
if os == "linux": [OK, TIMEOUT]
[touchstart event received]
expected:
if os == "linux": [PASS, NOTRUN]
[touchmove event received]
expected:
if os == "linux": [PASS, NOTRUN]
[touchend event received]
expected:
if os == "linux": [PASS, NOTRUN]
[Interaction with mouse events]
expected:
if os == "linux": [PASS, NOTRUN]

View File

@ -1,3 +1,4 @@
[wheel-basic.html] [wheel-basic.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
if (os == "linux") and fission: [OK, TIMEOUT]

View File

@ -1,3 +1,4 @@
[wheel-scrolling.html] [wheel-scrolling.html]
expected: expected:
if (os == "android") and fission: [OK, TIMEOUT] if (os == "android") and fission: [OK, TIMEOUT]
if os == "linux": [OK, TIMEOUT]

View File

@ -1,4 +0,0 @@
[multiTouchPointsTwoTouchStarts.html]
[TestDriver actions: two touch points with one moving one pause]
expected:
if product == "safari": FAIL

View File

@ -2,3 +2,4 @@
[TestDriver actions: pointerevent properties of touch type] [TestDriver actions: pointerevent properties of touch type]
expected: expected:
if product == "safari": FAIL if product == "safari": FAIL
if os == "linux": [PASS, FAIL]

View File

@ -1,3 +1,8 @@
[wheelScroll.html] [wheelScroll.html]
expected: expected:
if product == "epiphany": ERROR if product == "epiphany": ERROR
[TestDriver actions: wheel scroll]
expected:
if os == "android": [PASS, FAIL]
if os == "linux": [PASS, FAIL]

View File

@ -696,6 +696,17 @@ class ProfileCreator:
if self.test_type in ("reftest", "print-reftest"): if self.test_type in ("reftest", "print-reftest"):
profile.set_preferences({"layout.interruptible-reflow.enabled": False}) profile.set_preferences({"layout.interruptible-reflow.enabled": False})
if self.test_type == "testharness":
# Allow only touch and wheel events for now to be routed via the
# parent process. This is a workaround for tests using testdriver.js
# until bug 1773393 is done.
#
# Note that we don't set it for wdspec tests since it isn't suitable
# to ship to WebDriver users.
profile.set_preferences({"test.events.async.enabled": True})
profile.set_preferences({"test.events.async.key.enabled": False})
profile.set_preferences({"test.events.async.mouse.enabled": False})
if self.test_type == "print-reftest": if self.test_type == "print-reftest":
profile.set_preferences({"print.always_print_silent": True}) profile.set_preferences({"print.always_print_silent": True})

View File

@ -142,6 +142,17 @@ class ProfileCreator(FirefoxProfileCreator):
"layout.testing.overlay-scrollbars.always-visible": True, "layout.testing.overlay-scrollbars.always-visible": True,
}) })
if self.test_type == "testharness":
# Allow only touch and wheel events for now to be routed via the
# parent process. This is a workaround for tests using testdriver.js
# until bug 1773393 is done.
#
# Note that we don't set it for wdspec tests since it isn't suitable
# to ship to WebDriver users.
profile.set_preferences({"test.events.async.enabled": True})
profile.set_preferences({"test.events.async.key.enabled": False})
profile.set_preferences({"test.events.async.mouse.enabled": False})
profile.set_preferences({"fission.autostart": True}) profile.set_preferences({"fission.autostart": True})
if self.disable_fission: if self.disable_fission:
profile.set_preferences({"fission.autostart": False}) profile.set_preferences({"fission.autostart": False})