From 3dd77f0af24a936c3e2c7d4e5b720015294fc0b6 Mon Sep 17 00:00:00 2001 From: Reilly Grant Date: Mon, 9 Jan 2023 11:06:10 -0800 Subject: [PATCH] Update reference to "triggered by user activation" This concept is now referred to as "transient activation". Fixed #105. --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 551b15a..16597d8 100644 --- a/index.bs +++ b/index.bs @@ -213,7 +213,7 @@ The static {{DeviceOrientationEvent/requestPermission()}} operation, when invoke
  • Let permission be permission for relevant settings object's origin. -

  • If permission is "default" and the method call was not triggered by user activation, then reject promise with a +

  • If permission is "default" and relevant global object does not have transient activation, then reject promise with a {{NotAllowedError!!exception}} {{DOMException}} and abort these steps.

  • If permission is "default", ask the user whether sharing device orientation