<?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>263887</bug_id>
          
          <creation_ts>2023-10-30 07:33:19 -0700</creation_ts>
          <short_desc>REGRESSION(268320@main): WebDriver fullscreen/input type=file tests failing</short_desc>
          <delta_ts>2023-12-12 02:45:55 -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>WebKit Misc.</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=259028</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="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Abrar Rahman Protyasha">a_protyasha</assigned_to>
          <cc>a_protyasha</cc>
    
    <cc>ntim</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1988486</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-10-30 07:33:19 -0700</bug_when>
    <thetext>The following WPT tests regressed in 268320@main:

/fullscreen/api/element-request-fullscreen-cross-origin.sub.html
/infrastructure/testdriver/file_upload.sub.html
/screen-capture/delegate-request.https.sub.html
/screen-capture/getdisplaymedia-after-discard.https.html
/screen-capture/permissions-policy-audio+video.https.sub.html
/screen-capture/permissions-policy-audio.https.sub.html
/screen-capture/permissions-policy-video.https.sub.html
/webdriver/tests/classic/element_clear/clear.py
/webdriver/tests/classic/element_send_keys/events.py
/webdriver/tests/classic/element_send_keys/file_upload.py
/webdriver/tests/classic/execute_script/collections.py
/webdriver/tests/classic/fullscreen_window/fullscreen.py
/webdriver/tests/classic/fullscreen_window/stress.py
/webdriver/tests/classic/fullscreen_window/user_prompts.py
/webdriver/tests/classic/maximize_window/maximize.py
/webdriver/tests/classic/set_window_rect/set.py

A brief glance suggests that we’re relying in the automation protocol on having every script evaluated as a user gesture for a variety of our internal scripts. For example, Source/WebKit/UIProcess/Automation/atoms/EnterFullscreen.js relies on `document.documentElement.webkitRequestFullscreen()` working when called over the automation protocol.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1988487</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-10-30 07:39:13 -0700</bug_when>
    <thetext>rdar://117683701</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1988489</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-10-30 07:43:26 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/19716</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989113</commentid>
    <comment_count>3</comment_count>
    <who name="Abrar Rahman Protyasha">a_protyasha</who>
    <bug_when>2023-11-01 04:01:30 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/19830</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989806</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-03 14:08:44 -0700</bug_when>
    <thetext>Committed 270201@main (6444dd094f23): &lt;https://commits.webkit.org/270201@main&gt;

Reviewed commits have been landed. Closing PR #19716 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1998913</commentid>
    <comment_count>5</comment_count>
    <who name="Abrar Rahman Protyasha">a_protyasha</who>
    <bug_when>2023-12-12 02:42:44 -0800</bug_when>
    <thetext>Re-opening for pull request https://github.com/WebKit/WebKit/pull/21668</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1998914</commentid>
    <comment_count>6</comment_count>
    <who name="Abrar Rahman Protyasha">a_protyasha</who>
    <bug_when>2023-12-12 02:45:55 -0800</bug_when>
    <thetext>Will use bug 259028 to track a change in this area. Read the discussion in that bug for more context.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>