From 578e7d7a773b5ddc69adb264c5f1f3dd2aa2b3db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcos=20C=C3=A1ceres?=
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 @@ 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
- As a shorthand, requesting permission to use a
As a shorthand, prompting the user to choose from options associated with a
-
onchange
attribute
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 @@
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.
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.
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
;
};
name
member is not supported, return
+ a promise rejected with a TypeError
.
+ PermissionDescriptor
.
name
's permission descriptor type.
+ IDL value of rootDesc's name
's permission descriptor type.
[[query]]
internal slot.
name
's permission query algorithm, passing query and status.
+ name
's permission query algorithm, passing query and status.
PermissionStatus
interface
- WebIDL[Exposed=(Window,Worker)]
+ WebIDL[Exposed=(Window,Worker)]
interface PermissionStatus
: EventTarget {
readonly attribute PermissionState
state
;
- readonly attribute PermissionName
name
;
+ readonly attribute DOMString name
;
attribute EventHandler onchange
;
};
@@ -1328,7 +1333,7 @@
PermissionDescriptor
permissionDesc: