Bug 245240

Summary: navigator.userActivation API to query user activation state
Product: WebKit Reporter: Mustaq Ahmed <mustaq>
Component: UI EventsAssignee: Marcos Caceres <marcosc>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.