File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -20138,7 +20138,7 @@ type OverSampleType = "2x" | "4x" | "none";
20138
20138
type PanningModelType = "HRTF" | "equalpower";
20139
20139
type PaymentComplete = "fail" | "success" | "unknown";
20140
20140
type PaymentShippingType = "delivery" | "pickup" | "shipping";
20141
- type PermissionName = "accelerometer" | "ambient-light-sensor" | "background-sync" | "bluetooth" | "camera" | "clipboard" | "device-info" | "geolocation" | "gyroscope" | "magnetometer" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "speaker";
20141
+ type PermissionName = "accelerometer" | "ambient-light-sensor" | "background-fetch" | "background- sync" | "bluetooth" | "camera" | "clipboard-read " | "clipboard-write" | " device-info" | "display-capture" | " geolocation" | "gyroscope" | "magnetometer" | "microphone" | "midi" | "nfc " | "notifications" | "persistent-storage" | "push" | "speaker";
20142
20142
type PermissionState = "denied" | "granted" | "prompt";
20143
20143
type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
20144
20144
type PositionAlignSetting = "auto" | "center" | "line-left" | "line-right";
Original file line number Diff line number Diff line change @@ -6001,7 +6001,7 @@ type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "u
6001
6001
type NotificationDirection = "auto" | "ltr" | "rtl" ;
6002
6002
type NotificationPermission = "default" | "denied" | "granted" ;
6003
6003
type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" ;
6004
- type PermissionName = "accelerometer" | "ambient-light-sensor" | "background-sync" | "bluetooth" | "camera" | "clipboard" | "device-info" | "geolocation" | "gyroscope" | "magnetometer" | "microphone" | "midi" | "notifications" | "persistent-storage" | "push" | "speaker" ;
6004
+ type PermissionName = "accelerometer" | "ambient-light-sensor" | "background-fetch" | "background- sync" | "bluetooth" | "camera" | "clipboard-read " | "clipboard-write" | " device-info" | "display-capture" | " geolocation" | "gyroscope" | "magnetometer" | "microphone" | "midi" | "nfc " | "notifications" | "persistent-storage" | "push" | "speaker" ;
6005
6005
type PermissionState = "denied" | "granted" | "prompt" ;
6006
6006
type PremultiplyAlpha = "default" | "none" | "premultiply" ;
6007
6007
type PushEncryptionKeyName = "auth" | "p256dh" ;
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ interface PermissionStatus : EventTarget {
16
16
17
17
[Exposed=(Window)]
18
18
partial interface Navigator {
19
- readonly attribute Permissions permissions;
19
+ [SameObject] readonly attribute Permissions permissions;
20
20
};
21
21
22
22
[Exposed=(Worker)]
23
23
partial interface WorkerNavigator {
24
- readonly attribute Permissions permissions;
24
+ [SameObject] readonly attribute Permissions permissions;
25
25
};
26
26
27
27
[Exposed=(Window,Worker)]
@@ -38,14 +38,18 @@ enum PermissionName {
38
38
"microphone",
39
39
"speaker",
40
40
"device-info",
41
+ "background-fetch",
41
42
"background-sync",
42
43
"bluetooth",
43
44
"persistent-storage",
44
45
"ambient-light-sensor",
45
46
"accelerometer",
46
47
"gyroscope",
47
48
"magnetometer",
48
- "clipboard",
49
+ "clipboard-read",
50
+ "clipboard-write",
51
+ "display-capture",
52
+ "nfc",
49
53
};
50
54
51
55
dictionary PushPermissionDescriptor : PermissionDescriptor {
@@ -59,3 +63,13 @@ dictionary MidiPermissionDescriptor : PermissionDescriptor {
59
63
dictionary DevicePermissionDescriptor : PermissionDescriptor {
60
64
DOMString deviceId;
61
65
};
66
+
67
+ dictionary CameraDevicePermissionDescriptor : DevicePermissionDescriptor {
68
+ boolean panTiltZoom = false;
69
+ };
70
+
71
+ dictionary PermissionSetParameters {
72
+ required PermissionDescriptor descriptor;
73
+ required PermissionState state;
74
+ boolean oneRealm = false;
75
+ };
You can’t perform that action at this time.
0 commit comments