From 578e7d7a773b5ddc69adb264c5f1f3dd2aa2b3db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20C=C3=A1ceres?= Date: Mon, 14 Feb 2022 06:20:21 +0000 Subject: [PATCH] Switch PermissionName to DOMString (#353) SHA: e8a070fd6b3f9485b6cbcc853c6e53f1e9723503 Reason: push, by @marcoscaceres Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- index.html | 969 +++-------------------------------------------------- 1 file changed, 52 insertions(+), 917 deletions(-) diff --git a/index.html b/index.html index 29ac3a4..dc02271 100644 --- a/index.html +++ b/index.html @@ -326,10 +326,6 @@

This is a work in progress.

-

- Some features in this specification are supported by only one user agent, and as such, are - marked as at risk. -

This document was published by the Web Application Security Working Group as an Editor's Draft. @@ -402,11 +398,7 @@

onchange attribute
  • 5.3.5 Garbage collection -
  • 6. - Powerful features registry -
    1. 6.1 - Screen wake lock -
  • 7. Conformance
  • A. +
  • 6. Conformance
  • A. Relationship to the Permissions Policy specification
  • B. Automated testing @@ -897,9 +889,9 @@

    Issue 278: Safari returns different results for current permission state

    Safari is the only known UA that returns different results from this algorithm for different settings objects with the same origin. We should test which of the several possible settings objects it uses.

    - As a shorthand, a PermissionName name's permission state is the - permission state of a PermissionDescriptor with its - name member set to name. + As a shorthand, a DOMString name's permission state is the permission + state of a PermissionDescriptor with its name member set + to name.

    4.2 @@ -935,8 +927,8 @@

  • - As a shorthand, requesting permission to use a PermissionName name, is the - same as requesting permission to use a PermissionDescriptor with its + As a shorthand, requesting permission to use a DOMString name, is the same + as requesting permission to use a PermissionDescriptor with its name member set to name.

    @@ -975,7 +967,7 @@

    As a shorthand, prompting the user to choose from options associated with a - PermissionName name, is the same as prompting the user to choose from those + DOMString name, is the same as prompting the user to choose from those options associated with a PermissionDescriptor with its name member set to name.

    @@ -1155,13 +1147,13 @@

    Permissions interface

    -
    WebIDL[Exposed=(Window,Worker)]
    +        
    WebIDL[Exposed=(Window,Worker)]
     interface Permissions {
       Promise<PermissionStatus> query(object permissionDesc);
     };
     
     dictionary PermissionDescriptor {
    -  required PermissionName name;
    +  required DOMString name;
     };