From 4ab0fb44bfb75b4b8fcb2dc9d4dc6cab712749c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=
Date: Wed, 1 Jun 2022 13:39:35 +1000
Subject: [PATCH] check and consume user activation
---
index.html | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/index.html b/index.html
index a40f96c..7376f26 100644
--- a/index.html
+++ b/index.html
@@ -552,6 +552,11 @@
The subscribe method when invoked MUST run the following steps:
+ - If the [=relevant global object=] of [=this=] does not have [=transient activation=],
+ return [=a promise rejected with=] with a {{"NotAllowedError"}} {{DOMException}}.
+
+ - [=Consume user activation=] of [=this=]'s [=relevant global object=].
+
- Let |promise| be a new promise.
- Return |promise| and continue the following steps asynchronously.