Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1791079] Implement User Activation API #42395

Merged
merged 1 commit into from
Oct 8, 2023

Commits on Oct 7, 2023

  1. Implement User Activation API

    Rewrote internal user activation tree (spreading state to other elements)
    logic to match HTML spec:
    https://html.spec.whatwg.org/multipage/interaction.html#user-activation-processing-model
    
    Added navigator.userActivation API to expose internal user activation.
    
    Also fixed a WPT test to conform to spec (siblings are not activated),
    see also spec issue: whatwg/html#9831
    
    Co-authored-by: Tom Schuster <evilpies@gmail.com>
    
    Differential Revision: https://phabricator.services.mozilla.com/D185348
    
    bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1791079
    gecko-commit: fba49989dde6aa32244c622fd43abe19a32128ae
    gecko-reviewers: dom-core, webidl, saschanaz, edgar
    CanadaHonk authored and moz-wptsync-bot committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    2e0191e View commit details
    Browse the repository at this point in the history