Bug 1864558 [wpt PR 43133] - Add user gesture checks to showPicker and fullscreen...
commit390db5f17a7692ba8bd68ff28ed7c78bfd5460bb
authorLuke Warlow <luke@warlow.dev>
Mon, 20 Nov 2023 11:10:13 +0000 (20 11:10 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 22 Nov 2023 12:51:42 +0000 (22 12:51 +0000)
tree8027fec6a51508e5cefa547f027b9d7c44a6b0a2
parent752e2f765a6fef1cbc76839d92bc7b2603d98dd1
Bug 1864558 [wpt PR 43133] - Add user gesture checks to showPicker and fullscreen invoke actions, a=testonly

Automatic update from web-platform-tests
Add user gesture checks to showPicker and fullscreen invoke actions

These were originally absent due to a faulty assumption.
If invokers only worked with trusted input then these checks
wouldn't be needed, but invokers also work with synthetic events.

As currently specced showPicker needs a user gesture check regardless.
Fullscreen actions aren't currently specced but adding gesture checks
matches the JS API equivalents, and removes a bypass for mitigations.

Bug: 1490919
Change-Id: I0b27e7110fc09bd4c8746d8bdddf200360640be9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5019385
Reviewed-by: Mason Freed <masonf@chromium.org>
Commit-Queue: Luke <lukewarlow156@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1225366}

--

wpt-commits: fad39cbf5ed7df8c51d8f3aaaaa90f8f1c8366b0
wpt-pr: 43133
testing/web-platform/tests/html/semantics/invokers/invoketarget-fullscreen-behavior.tentative.html