|
| 1 | +// This is a subset of the permissions defined in the spec: |
| 2 | +// https://w3c.github.io/powerful-features-registry/#registry-table-of-powerful-features |
| 3 | +// Please add a feature only when it's supported by multiple engines. |
1 | 4 | enum PermissionName {
|
2 |
| - // This is a subset of the permissions defined in the spec: |
3 |
| - // https://w3c.github.io/powerful-features-registry/#registry-table-of-powerful-features |
4 |
| - // Please add a feature only when it's supported by multiple engines. |
5 | 5 | // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility
|
6 | 6 | camera
|
7 |
| - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility |
| 7 | + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API#browser_compatibility |
8 | 8 | geolocation
|
9 | 9 | // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility
|
10 | 10 | microphone
|
11 |
| - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility |
| 11 | + // Gecko and Blink: https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API#browser_compatibility |
12 | 12 | midi
|
13 |
| - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility |
| 13 | + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API#browser_compatibility |
14 | 14 | notifications
|
15 |
| - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility |
| 15 | + // Gecko and Blink: https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#browser_compatibility |
16 | 16 | persistent-storage
|
17 |
| - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility |
| 17 | + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Push_API#browser_compatibility |
18 | 18 | push
|
19 |
| - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility |
| 19 | + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Screen_Wake_Lock_API#browser_compatibility |
20 | 20 | screen-wake-lock
|
21 |
| - // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Permissions_API#browser_compatibility |
| 21 | + // Full support: https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API#browser_compatibility |
22 | 22 | storage-access
|
23 | 23 | }
|
0 commit comments