diff --git a/index.html b/index.html index 820380d..d3d9c38 100644 --- a/index.html +++ b/index.html @@ -183,7 +183,7 @@ .mdn .samsunginternet_android::before{background-image:url(https://www.w3.org/assets/logos/browser-logos/samsung-internet/samsung-internet.svg)} .mdn .webview_android::before{background-image:url(https://www.w3.org/assets/logos/browser-logos/android-webview/android-webview.png)} - +
@@ -267,7 +267,7 @@

Permissions

Interacting with Permissions for Powerful Features

-

W3C Editor's Draft

+

W3C Editor's Draft

More details about this document
@@ -322,10 +322,10 @@

Permissions

desktop
-
- Android Chrome logo121 -
- Android Firefox logo122 +
+ Android Chrome logo122 +
+ Android Firefox logo123
Android UC logo15.5
@@ -1931,13 +1931,13 @@

Permissions

WebDriver] and [WebDriver-BiDi] specifications. It is OPTIONAL for a user agent to support them.

-
WebIDLdictionary PermissionSetParameters {
-  required PermissionDescriptor descriptor;
+      
WebIDLdictionary PermissionSetParameters {
+  required object descriptor;
   required PermissionState state;
 };

- To set a permission given a PermissionDescriptor + To set a permission given a PermissionDescriptor descriptor, a PermissionState state, and an optional origin:

@@ -2001,7 +2001,7 @@

Permissions

The Set Permission - extension command simulates user modification of a PermissionDescriptor's + extension command simulates user modification of a PermissionDescriptor's permission state.

@@ -2012,19 +2012,18 @@

Permissions

PermissionSetParameters. If this throws an exception, return an invalid argument error.
  • If parametersDict.state is an inappropriate - permission state for any implementation-defined reason, return an - invalid argument error. + permission state for any implementation-defined reason, return an invalid argument error.
    Note

    For example, user agents that define the "midi" powerful feature as "always on" can choose to reject a command to set the permission state to "denied" at this step.

  • -
  • Let rootDesc be parameters.descriptor. +
  • Let rootDesc be parametersDict.descriptor.
  • -
  • Let typedDescriptor be the object rootDesc refers to, converted to an IDL - value of rootDesc.name's permission descriptor type. If this throws an exception, return a invalid argument - error. +
  • Let typedDescriptor be the object rootDesc refers to, converted to an IDL value of permission descriptor type matching the result of + Get(rootDesc, "name"). If this throws an + exception, return a invalid argument error.
  • Set a permission with typedDescriptor and parametersDict.state. @@ -2032,12 +2031,12 @@

    Permissions

    Return success with data null.

  • -

    G. @@ -2583,7 +2582,7 @@

    Permissions

    [dom]
    DOM Standard. Anne van Kesteren. WHATWG. Living Standard. URL: https://dom.spec.whatwg.org/ -
    [ecmascript]
    +
    [ecma-262]
    ECMAScript Language Specification. Ecma International. URL: https://tc39.es/ecma262/multipage/
    [HTML]
    HTML Standard. Anne van Kesteren; Domenic Denicola; Ian Hickson; Philip Jägenstedt; Simon Pieters. WHATWG. Living Standard. URL: https://html.spec.whatwg.org/multipage/ @@ -3398,15 +3397,13 @@

    Permissions

  • § 6.3.1 Creating instances
  • - § B. Automated testing (2) + § B. Automated testing
  • - § B.1.1 Set Permission + § B.1.1 Set Permission
  • - § B.2.1.2.1 The permissions.PermissionDescriptor Type + § B.2.1.2.1 The permissions.PermissionDescriptor Type
  • - § B.2.1.3.1 The permissions.setPermission Command -
  • - § F. IDL Index + § B.2.1.3.1 The permissions.setPermission Command