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";
2013820138type PanningModelType = "HRTF" | "equalpower";
2013920139type PaymentComplete = "fail" | "success" | "unknown";
2014020140type 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";
2014220142type PermissionState = "denied" | "granted" | "prompt";
2014320143type PlaybackDirection = "alternate" | "alternate-reverse" | "normal" | "reverse";
2014420144type 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
60016001type NotificationDirection = "auto" | "ltr" | "rtl" ;
60026002type NotificationPermission = "default" | "denied" | "granted" ;
60036003type 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" ;
60056005type PermissionState = "denied" | "granted" | "prompt" ;
60066006type PremultiplyAlpha = "default" | "none" | "premultiply" ;
60076007type PushEncryptionKeyName = "auth" | "p256dh" ;
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ interface PermissionStatus : EventTarget {
1616
1717[Exposed=(Window)]
1818partial interface Navigator {
19- readonly attribute Permissions permissions;
19+ [SameObject] readonly attribute Permissions permissions;
2020};
2121
2222[Exposed=(Worker)]
2323partial interface WorkerNavigator {
24- readonly attribute Permissions permissions;
24+ [SameObject] readonly attribute Permissions permissions;
2525};
2626
2727[Exposed=(Window,Worker)]
@@ -38,14 +38,18 @@ enum PermissionName {
3838 "microphone",
3939 "speaker",
4040 "device-info",
41+ "background-fetch",
4142 "background-sync",
4243 "bluetooth",
4344 "persistent-storage",
4445 "ambient-light-sensor",
4546 "accelerometer",
4647 "gyroscope",
4748 "magnetometer",
48- "clipboard",
49+ "clipboard-read",
50+ "clipboard-write",
51+ "display-capture",
52+ "nfc",
4953};
5054
5155dictionary PushPermissionDescriptor : PermissionDescriptor {
@@ -59,3 +63,13 @@ dictionary MidiPermissionDescriptor : PermissionDescriptor {
5963dictionary DevicePermissionDescriptor : PermissionDescriptor {
6064 DOMString deviceId;
6165};
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