Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign more Permissions-related keys #2614

Merged
merged 3 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions features/background-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ spec: https://wicg.github.io/background-sync/spec/
status:
compute_from: api.SyncManager
compat_features:
- api.Permissions.permission_background-sync
- api.ServiceWorkerGlobalScope.sync_event
- api.ServiceWorkerRegistration.sync
- api.SyncEvent
Expand Down
7 changes: 7 additions & 0 deletions features/background-sync.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,10 @@ compat_features:
# chrome_android: "61"
# edge: "79"
- api.SyncManager.worker_support

# baseline: false
# support:
# chrome: "62"
# chrome_android: "62"
# edge: "79"
- api.Permissions.permission_background-sync
34 changes: 0 additions & 34 deletions features/draft/spec/permissions.yml

This file was deleted.

94 changes: 0 additions & 94 deletions features/draft/spec/permissions.yml.dist

This file was deleted.

1 change: 1 addition & 0 deletions features/geolocation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@ compat_features:
- api.GeolocationPositionError.secure_context_required
- api.Navigator.geolocation
- api.Navigator.geolocation.secure_context_required
- api.Permissions.permission_geolocation
- html.elements.iframe.allow.geolocation
- http.headers.Permissions-Policy.geolocation
12 changes: 12 additions & 0 deletions features/geolocation.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,18 @@ compat_features:
- api.GeolocationPositionError.message
- api.GeolocationPositionError.secure_context_required

# baseline: low
# baseline_low_date: 2022-09-12
# support:
# chrome: "43"
# chrome_android: "43"
# edge: "79"
# firefox: "46"
# firefox_android: "46"
# safari: "16"
# safari_ios: "16"
- api.Permissions.permission_geolocation

# baseline: low
# baseline_low_date: 2024-09-16
# support:
Expand Down
1 change: 1 addition & 0 deletions features/local-fonts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ compat_features:
- api.FontData.fullName
- api.FontData.postscriptName
- api.FontData.style
- api.Permissions.permission_local-fonts
- api.Window.queryLocalFonts
- html.elements.iframe.allow.local-fonts
- http.headers.Permissions-Policy.local-fonts
1 change: 1 addition & 0 deletions features/local-fonts.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ compat_features:
- api.FontData.fullName
- api.FontData.postscriptName
- api.FontData.style
- api.Permissions.permission_local-fonts
- api.Window.queryLocalFonts
- html.elements.iframe.allow.local-fonts
- http.headers.Permissions-Policy.local-fonts
1 change: 1 addition & 0 deletions features/magnetometer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ compat_features:
- api.Magnetometer.x
- api.Magnetometer.y
- api.Magnetometer.z
- api.Permissions.permission_magnetometer
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This features seems wrong, I've filed #2631.

But no reason to not make this change here.

- html.elements.iframe.allow.magnetometer
- http.headers.Permissions-Policy.magnetometer
# Enable when overlapping keys are allowed, https://github.com/web-platform-dx/web-features/issues/1173
Expand Down
7 changes: 7 additions & 0 deletions features/magnetometer.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ status:
baseline: false
support: {}
compat_features:
# baseline: false
# support:
# chrome: "62"
# chrome_android: "62"
# edge: "79"
- api.Permissions.permission_magnetometer

# baseline: false
# support:
# chrome: "66"
Expand Down
2 changes: 2 additions & 0 deletions features/media-capture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ compat_features:
- api.OverconstrainedError
- api.OverconstrainedError.OverconstrainedError
- api.OverconstrainedError.constraint
- api.Permissions.permission_camera
- api.Permissions.permission_microphone
- html.elements.iframe.allow.camera
- html.elements.iframe.allow.microphone
- http.headers.Permissions-Policy.camera
Expand Down
13 changes: 13 additions & 0 deletions features/media-capture.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,19 @@ compat_features:
# safari_ios: "11"
- api.MediaDevices.enumerateDevices

# baseline: low
# baseline_low_date: 2024-10-29
# support:
# chrome: "64"
# chrome_android: "64"
# edge: "79"
# firefox: "132"
# firefox_android: "132"
# safari: "16"
# safari_ios: "16"
- api.Permissions.permission_camera
- api.Permissions.permission_microphone

# baseline: false
# support:
# chrome: "57"
Expand Down
1 change: 1 addition & 0 deletions features/notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ compat_features:
- api.NotificationEvent.NotificationEvent
- api.NotificationEvent.action
- api.NotificationEvent.notification
- api.Permissions.permission_notifications
- api.ServiceWorkerGlobalScope.notificationclick_event
- api.ServiceWorkerGlobalScope.notificationclose_event
- api.ServiceWorkerRegistration.getNotifications
Expand Down
12 changes: 12 additions & 0 deletions features/notifications.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@ compat_features:
- api.NotificationEvent.NotificationEvent
- api.ServiceWorkerRegistration.showNotification

# baseline: low
# baseline_low_date: 2023-03-27
# support:
# chrome: "43"
# chrome_android: "43"
# edge: "79"
# firefox: "46"
# firefox_android: "46"
# safari: "16.4"
# safari_ios: "16.4"
- api.Permissions.permission_notifications

# baseline: false
# support:
# chrome: "40"
Expand Down
3 changes: 3 additions & 0 deletions features/permissions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ status:
compat_features:
- api.Navigator.permissions
- api.PermissionStatus
- api.PermissionStatus.change_event
- api.PermissionStatus.name
- api.PermissionStatus.state
- api.Permissions
- api.Permissions.query
- api.Permissions.request
- api.WorkerNavigator.permissions
36 changes: 36 additions & 0 deletions features/permissions.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,42 @@ compat_features:
# safari_ios: "16"
- api.PermissionStatus.state

# baseline: low
# baseline_low_date: 2022-09-12
# support:
# chrome: "97"
# chrome_android: "97"
# edge: "97"
# firefox: "93"
# firefox_android: "93"
# safari: "16"
# safari_ios: "16"
- api.PermissionStatus.name

# baseline: low
# baseline_low_date: 2023-03-27
# support:
# chrome: "43"
# chrome_android: "43"
# edge: "79"
# firefox: "46"
# firefox_android: "46"
# safari: "16.4"
# safari_ios: "16.4"
- api.PermissionStatus.change_event

# baseline: low
# baseline_low_date: 2024-11-26
# support:
# chrome: "43"
# chrome_android: "43"
# edge: "79"
# firefox: "133"
# firefox_android: "133"
# safari: "16.4"
# safari_ios: "16.4"
- api.WorkerNavigator.permissions

# baseline: false
# support: {}
- api.Permissions.request
3 changes: 3 additions & 0 deletions features/storage-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: Storage manager
description: "The `navigator.storage` API provides information about the availability and persistence of the data that a site stores on the device, by using APIs such as the Cache API or the IndexedDB API."
spec: https://storage.spec.whatwg.org/
group: storage
status:
compute_from: api.StorageManager.estimate
compat_features:
- api.Navigator.storage
- api.WorkerNavigator.storage
- api.StorageManager
- api.StorageManager.estimate
- api.StorageManager.persist
- api.StorageManager.persisted
- api.Permissions.permission_persistent-storage
9 changes: 9 additions & 0 deletions features/storage-manager.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,12 @@ compat_features:
# safari: "17"
# safari_ios: "17"
- api.StorageManager.estimate

# baseline: false
# support:
# chrome: "71"
# chrome_android: "71"
# edge: "79"
# firefox: "53"
# firefox_android: "53"
- api.Permissions.permission_persistent-storage