Update Navigator to support UserActivation. This is currently Chrome-only, so mark as possibly undefined.
@@ -5505,6 +5505,12 @@ Navigator.prototype.share = function(data) {};
*/
Navigator.prototype.hardwareConcurrency;
+/**
+ * @type {UserActivation|undefined}
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#tracking-user-activation
+ */
+ Navigator.prototype.userActivation;
+
/**
* @constructor
* @implements NavigatorStorage
@@ -5956,3 +5962,16 @@ HTMLFormElement.prototype.onformdata;
* @see https://html.spec.whatwg.org/multipage/webappapis.html#dom-crossoriginisolated
*/
Window.prototype.crossOriginIsolated;
+
+/**
+ * @see https://html.spec.whatwg.org/multipage/interaction.html#tracking-user-activation
+ *
+ * @record
+ */
+function UserActivation() {}
+
+/** @type {boolean} */
+UserActivation.prototype.isActive;
+
+/** @type {boolean} */
+UserActivation.prototype.hasBeenActive;
