<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>244186</bug_id>
          
          <creation_ts>2022-08-22 02:03:06 -0700</creation_ts>
          <short_desc>[WPE] Imported W3C touch-event tests are crashing</short_desc>
          <delta_ts>2025-09-04 01:32:21 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=233092</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Zan Dobersek">zan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>francovsouza</cc>
    
    <cc>fujii</cc>
    
    <cc>lmoura</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1892912</commentid>
    <comment_count>0</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2022-08-22 02:03:06 -0700</bug_when>
    <thetext>The following imported W3C touch-event tests are crashing on WPE:

  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/non-passive-touchmove-event-listener-on-body.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/non-passive-touchmove-event-listener-on-div.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/non-passive-touchmove-event-listener-on-document.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/non-passive-touchmove-event-listener-on-root.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/non-passive-touchmove-event-listener-on-window.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/non-passive-touchstart-event-listener-on-body.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/non-passive-touchstart-event-listener-on-div.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/non-passive-touchstart-event-listener-on-document.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/non-passive-touchstart-event-listener-on-root.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/non-passive-touchstart-event-listener-on-window.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-touchmove-event-listener-on-body.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-touchmove-event-listener-on-div.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-touchmove-event-listener-on-document.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-touchmove-event-listener-on-root.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-touchmove-event-listener-on-window.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-touchstart-event-listener-on-body.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-touchstart-event-listener-on-div.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-touchstart-event-listener-on-document.html [ Crash ]
  imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-touchstart-event-listener-on-root.html [ Crash ]

This is the collected backtrace, missing functionality in WKTR:

#0  0x00005555570c8fde in WTFCrash ()
#1  0x0000555555d4b479 in  ()
#2  0x00005555592bebb2 in WTR::JSUIScriptController::sendEventStream(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) ()
#3  0x0000555555dceada in long JSC::APICallbackFunction::callImpl&lt;JSC::JSCallbackFunction&gt;(JSC::JSGlobalObject*, JSC::CallFrame*) ()
#4  0x00007fffa2dd4027 in  ()
#5  0x00007fffffffc7f0 in  ()
#6  0x000055555928d47e in op_call_slow_return_location ()
#7  0x0000000000000000 in  ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1906453</commentid>
    <comment_count>1</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2022-10-18 07:24:21 -0700</bug_when>
    <thetext>fast/events/touch/force-press-event.html

Moved out of iphone7 folder by 254521@main. It&apos;s crashing at the same site.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2131190</commentid>
    <comment_count>2</comment_count>
    <who name="Franco Vieira">francovsouza</who>
    <bug_when>2025-07-18 10:51:28 -0700</bug_when>
    <thetext>Also happening on the following when attempting to implement event-timing:

- imported/w3c/web-platform-tests/event-timing/TapToStopFling.html
- imported/w3c/web-platform-tests/event-timing/interaction-count-tap.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2131192</commentid>
    <comment_count>3</comment_count>
    <who name="Franco Vieira">francovsouza</who>
    <bug_when>2025-07-18 11:03:33 -0700</bug_when>
    <thetext>Crash logs for the event-timing runs can be found here: https://ews-build.webkit.org/#/builders/34/builds/85287

They look a bit different for me:

STDERR: SHOULD NEVER BE REACHED
STDERR: /app/webkit/Tools/TestRunnerShared/UIScriptContext/UIScriptController.h(73) : void WTR::UIScriptController::notImplemented() const
STDERR: 1   0x55fecf8d9cc3 WTR::UIScriptController::notImplemented() const [clone .isra.0]
STDERR: 2   0x55fecf8da2e9 ???
STDERR: 3   0x55fecf90c033 WTR::JSUIScriptController::sendEventStream(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**)
STDERR: 4   0x7f94f051c585 long JSC::APICallbackFunction::callImpl&lt;JSC::JSCallbackFunction&gt;(JSC::JSGlobalObject*, JSC::CallFrame*)
STDERR: 5   0x7f94995e4327 ???</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140851</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-09-03 23:41:27 -0700</bug_when>
    <thetext>All ports skips the tests after 280139@main. But, only WPE is running the tests and crashing. I&apos;m going to skip them for WPE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140852</commentid>
    <comment_count>5</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2025-09-03 23:47:13 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/50289</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2140865</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-09-04 01:32:21 -0700</bug_when>
    <thetext>Test gardening commit 299545@main (48c4dddea2e1): &lt;https://commits.webkit.org/299545@main&gt;

Reviewed commits have been landed. Closing PR #50289 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>