<?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>266665</bug_id>
          
          <creation_ts>2023-12-19 15:26:14 -0800</creation_ts>
          <short_desc>REGRESSION(271428@main): [ iOS 17 ] imported/w3c/web-platform-tests/html/semantics/invokers/invoketarget-button-event-dispatch.tentative.html is a constant text failure</short_desc>
          <delta_ts>2024-01-08 09:15:38 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=262850</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>annevk</cc>
    
    <cc>mike</cc>
    
    <cc>ntim</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2000864</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-12-19 15:26:14 -0800</bug_when>
    <thetext>imported/w3c/web-platform-tests/html/semantics/invokers/invoketarget-button-event-dispatch.tentative.html 

is a constant text failure on iOS 17. 


HISTORY:
https://results.webkit.org/?platform=ios&amp;suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Finvokers%2Finvoketarget-button-event-dispatch.tentative.html

DIFF URL:
https://build.webkit.org/results/Apple-iPadOS-17-Simulator-Debug-WK2-Tests/272285@main%20(548)/imported/w3c/web-platform-tests/html/semantics/invokers/invoketarget-button-event-dispatch.tentative-pretty-diff.html

TEXT DIFF:
+++ /Volumes/Data/worker/Apple-iPadOS-17-Simulator-Debug-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/invokers/invoketarget-button-event-dispatch.tentative-actual.txt
@@ -1,8 +1,8 @@
 
 
-PASS event dispatches on click
-PASS event action is set to invokeAction
-PASS event action is set to invokeaction attribute
+FAIL event dispatches on click assert_true: event is InvokeEvent expected true got false
+FAIL event action is set to invokeAction assert_true: event is InvokeEvent expected true got false
+FAIL event action is set to invokeaction attribute assert_true: event is InvokeEvent expected true got false
 PASS event does not dispatch if click:preventDefault is called
 PASS event does not dispatch if invoker is disabled</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000865</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-12-19 15:26:39 -0800</bug_when>
    <thetext>&lt;rdar://problem/119897560&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000868</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-12-19 15:30:32 -0800</bug_when>
    <thetext>This is easily reproducible on iOS 17 ToT running the test as follows:

run-webkit-tests --iOS-simulator imported/w3c/web-platform-tests/html/semantics/invokers/invoketarget-button-event-dispatch.tentative.html 


It also has an extremely clear regression point in the history at: https://commits.webkit.org/271428@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000872</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-12-19 15:38:44 -0800</bug_when>
    <thetext>Test gardening commit 272308@main (1fb5505e86e1): &lt;https://commits.webkit.org/272308@main&gt;

Reviewed commits have been landed. Closing PR #22069 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2001923</commentid>
    <comment_count>4</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2023-12-25 09:49:19 -0800</bug_when>
    <thetext>Hey Keith, it seems that one of the invoker tests doesn&apos;t quite run correctly on iOS. Would you want to take a look at it? (I tried to copy Lindsey as well and while autocomplete worked, Bugzilla could not find the email address.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2001924</commentid>
    <comment_count>5</comment_count>
    <who name="Keith Cirkel">webkit</who>
    <bug_when>2023-12-25 09:51:56 -0800</bug_when>
    <thetext>Thanks for the ping, I’ll take a look!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2003318</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-01-05 20:06:41 -0800</bug_when>
    <thetext>I suspect this is failing because it&apos;s using mouse actions on iOS which are unsupported there:

  const actions = new test_driver.Actions();
  await waitForRender();
  await actions.pointerMove(0, 0, {origin: element})
      .pointerDown({button: actions.ButtonType.LEFT})
      .pointerUp({button: actions.ButtonType.LEFT})
      .send();
  await waitForRender();

There are similar failures to this. 

I would suggest trying to use `test_driver.click(element)` instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2003330</commentid>
    <comment_count>7</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2024-01-05 23:44:22 -0800</bug_when>
    <thetext>(In reply to Tim Nguyen (:ntim) from comment #6)
&gt; I suspect this is failing because it&apos;s using mouse actions on iOS which are
&gt; unsupported there:
&gt; …
&gt; I would suggest trying to use `test_driver.click(element)` instead.

But does test_driver.click(element) actually work for iOS testing?

At least I know that previously we merged https://commits.webkit.org/270924@main to skip a test on iOS that was passing on all other platforms but failing on iOS — an iOS failure that I was able to reproducible locally — due just to that test relying on test_driver.click()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2003426</commentid>
    <comment_count>8</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-01-06 17:40:55 -0800</bug_when>
    <thetext>Ah maybe not, maybe the test should just be skipped on iOS then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2003618</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-01-08 09:15:36 -0800</bug_when>
    <thetext>Committed 272767@main (8e1133897599): &lt;https://commits.webkit.org/272767@main&gt;

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

    </bug>

</bugzilla>