diff --git a/source b/source index fd6502657a2..7e4911d7c7a 100644 --- a/source +++ b/source @@ -75904,6 +75904,54 @@ END:VCARD +
UserActivation interfaceEach Window has an associated UserActivation, which is a
+ UserActivation object. Upon creation of the Window object, its
+ associated UserActivation must be set to a new
+ UserActivation object created in the Window object's relevant Realm.
[Exposed=Window]
+interface UserActivation {
+ readonly attribute boolean hasBeenActive;
+ readonly attribute boolean isActive;
+};
+
+partial interface {
+ [SameObject] readonly attribute UserActivation userActivation;
+};
+
+ navigator.userActivation.hasBeenActiveReturns whether the window has sticky activation.
+navigator.userActivation.isActiveReturns whether the window has transient activation.
+The userActivation getter steps are to return
+ this's associated UserActivation.
The hasBeenActive getter steps are to return
+ true if this's relevant global object has sticky
+ activation, and false otherwise.
The isActive getter steps are to return true if
+ this's relevant global object has transient activation,
+ and false otherwise.