<?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>234139</bug_id>
          
          <creation_ts>2021-12-10 03:45:29 -0800</creation_ts>
          <short_desc>[WPT] test_driver.Actions() not working properly</short_desc>
          <delta_ts>2022-01-19 12:13:03 -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>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Manuel Rego Casasnovas">rego</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>graouts</cc>
    
    <cc>gsnedders</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1822636</commentid>
    <comment_count>0</comment_count>
    <who name="Manuel Rego Casasnovas">rego</who>
    <bug_when>2021-12-10 03:45:29 -0800</bug_when>
    <thetext>In several WPT tests that are using test_driver.Actions() we get the following error:
	ReferenceError: Can&apos;t find variable: action

This is a list of tests with such error:
	imported/w3c/web-platform-tests/css/css-scroll-snap/snap-at-user-scroll-end-expected.txt
	imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default-expected.txt
	imported/w3c/web-platform-tests/dom/events/document-level-wheel-event-listener-passive-by-default.tentative-expected.txt
	imported/w3c/web-platform-tests/dom/events/scrolling/iframe-chains-expected.txt
	imported/w3c/web-platform-tests/html/semantics/forms/the-button-element/active-onblur-expected.txt
	imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/checkable-active-onblur-expected.txt
	imported/w3c/web-platform-tests/html/semantics/forms/the-label-element/proxy-modifier-click-to-associated-element.tentative-expected.txt
	imported/w3c/web-platform-tests/pointerevents/compat/pointerevent_mouseevent_key_pressed-expected.txt
	imported/w3c/web-platform-tests/pointerevents/pointerevent_touch-action-keyboard-expected.txt
	imported/w3c/web-platform-tests/shadow-dom/accesskey.tentative-expected.txt
	imported/w3c/web-platform-tests/uievents/order-of-events/focus-events/focus-management-expectations-expected.txt
	imported/w3c/web-platform-tests/uievents/order-of-events/mouse-events/wheel-basic-expected.txt
	imported/w3c/web-platform-tests/uievents/order-of-events/mouse-events/wheel-scrolling-expected.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1822642</commentid>
    <comment_count>1</comment_count>
    <who name="Manuel Rego Casasnovas">rego</who>
    <bug_when>2021-12-10 03:56:40 -0800</bug_when>
    <thetext>It&apos;s worth noting that these tests run fine in wpt.fyi:
https://wpt.fyi/results/shadow-dom/accesskey.tentative.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1825039</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-17 03:46:17 -0800</bug_when>
    <thetext>&lt;rdar://problem/86625135&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1832138</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-01-19 12:13:03 -0800</bug_when>
    <thetext>@http://localhost:8800/resources/testdriver-vendor.js:264:75
send@http://localhost:8800/resources/testdriver-actions.js:70:41
global code@http://localhost:8800/css/css-scroll-snap/snap-at-user-scroll-end.html:107:12

So it&apos;s the reference to action at https://github.com/WebKit/WebKit/blob/eb14e0ccb41166c7509ce8b445d4e663a1dfd31a/LayoutTests/imported/w3c/web-platform-tests/resources/testdriver-vendor.js#L264

Blame claims it&apos;s a regression from https://github.com/WebKit/WebKit/commit/95ae6591e8f12d43817a52ad728e9c438bf9a0cc, bug 197101.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>