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.
rdar://117683701
Pull request: https://github.com/WebKit/WebKit/pull/19716
Pull request: https://github.com/WebKit/WebKit/pull/19830
Committed 270201@main (6444dd094f23): <https://commits.webkit.org/270201@main> Reviewed commits have been landed. Closing PR #19716 and removing active labels.
Re-opening for pull request https://github.com/WebKit/WebKit/pull/21668
Will use bug 259028 to track a change in this area. Read the discussion in that bug for more context.