github web-platform-tests/wpt merge_pr_47234

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
14 months ago

Automatic Fullscreen: Use PermissionService internally; add WPT

Check for automatic fullscreen permission asynchronously during RequestFullscreen, when the caller doesn't have transient activation or an equivalent signal.

Refactor Blink Fullscreen internals to support updated checks.
Formalize error type; update algorithm comments; cleanup.

Add Element.requestFullscreen WPT without gesture, with permission.

Update browser test to skip retries for fullscreen on load.
(this fixes a race between fullscreen and document settings on load)

Guard by blink::features::kAutomaticFullscreenPermissionsQuery.
(note this feature is already "stable", i.e. enabled by default)

Bug: 40941384, 348456264
Fixed: 351758438
Change-Id: I44d734d07d046da19ee3a61059624f0f948ad1a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5666304
Commit-Queue: Mike Wasserman msw@chromium.org
Reviewed-by: Joey Arhar jarhar@chromium.org
Auto-Submit: Mike Wasserman msw@chromium.org
Reviewed-by: Alex Moshchuk alexmos@chromium.org
Cr-Commit-Position: refs/heads/main@{#1331144}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.