LibWeb: Implement UserActivation

This commit is contained in:
Jamie Mansfield 2024-05-25 12:40:44 +01:00 committed by Andrew Kaster
commit 01bd179eef
Notes: sideshowbarker 2024-07-17 11:34:34 +09:00
11 changed files with 104 additions and 0 deletions

View file

@ -6,6 +6,7 @@
#import <HTML/NavigatorOnLine.idl>
#import <HTML/NavigatorConcurrentHardware.idl>
#import <HTML/PluginArray.idl>
#import <HTML/UserActivation.idl>
// https://html.spec.whatwg.org/multipage/system-state.html#navigator
[Exposed=Window]
@ -17,6 +18,9 @@ interface Navigator {
// https://w3c.github.io/pointerevents/#extensions-to-the-navigator-interface
readonly attribute long maxTouchPoints;
// https://html.spec.whatwg.org/multipage/interaction.html#useractivation
[SameObject] readonly attribute UserActivation userActivation;
};
// NOTE: As NavigatorContentUtils, NavigatorCookies, NavigatorPlugins, and NavigatorAutomationInformation