Bug 245240 - navigator.userActivation API to query user activation state
Summary: navigator.userActivation API to query user activation state
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Marcos Caceres
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-15 13:01 PDT by Mustaq Ahmed
Modified: 2022-11-11 09:09 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mustaq Ahmed 2022-09-15 13:01:08 PDT
We have seen general interest about this API [1], mainly for sake of WPTs for user activation.  Those WPTs otherwise have to rely on the behavior of dependent APIs like popup or fullscreen.

Note that this is about only the navigator interface part of the state propagation discussion [2]. Here is the PR to the HTML spec [3] for that interface.

[1] https://github.com/whatwg/html/pull/4009#issuecomment-542363760
[2] https://github.com/whatwg/html/issues/1983
[3] https://github.com/whatwg/html/pull/8254
Comment 1 Radar WebKit Bug Importer 2022-09-22 13:02:17 PDT
<rdar://problem/100289454>
Comment 2 Marcos Caceres 2022-09-29 16:36:33 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4841
Comment 3 EWS 2022-11-11 09:09:50 PST
Committed 256572@main (2df18f66ddd3): <https://commits.webkit.org/256572@main>

Reviewed commits have been landed. Closing PR #4841 and removing active labels.