Skip to content

Commit

Permalink
Firefox 91 gamepad permission policy (#11770)
Browse files Browse the repository at this point in the history
* FF91 Feature-Policy gamepad permission

* Change allowlist from all to asterisk

* Update http/headers/feature-policy.json

Co-authored-by: Marcos Cáceres <[email protected]>

* opera android to false - does not support flags

Co-authored-by: Marcos Cáceres <[email protected]>
  • Loading branch information
hamishwillee and marcoscaceres authored Aug 9, 2021
1 parent f37ba64 commit ec8c83e
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions http/headers/feature-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,85 @@
}
}
},
"gamepad": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/HTTP/Headers/Feature-Policy/gamepad",
"spec_url": "https://www.w3.org/TR/gamepad/#dfn-gamepad",
"support": {
"chrome": {
"version_added": "86",
"flags": [
{
"type": "preference",
"name": "#restrict-gamepad-access",
"value_to_set": "Enabled"
}
]
},
"chrome_android": {
"version_added": "86",
"flags": [
{
"type": "preference",
"name": "#restrict-gamepad-access",
"value_to_set": "Enabled"
}
]
},
"edge": {
"version_added": "86",
"flags": [
{
"type": "preference",
"name": "#restrict-gamepad-access",
"value_to_set": "Enabled"
}
]
},
"firefox": {
"version_added": "91",
"notes": "The default allowlist is <code>*</code> instead of <code>self</code> (as required by the specification)."
},
"firefox_android": {
"version_added": "91",
"notes": "The default allowlist is <code>*</code> instead of <code>self</code> (as required by the specification)."
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "72",
"flags": [
{
"type": "preference",
"name": "#restrict-gamepad-access",
"value_to_set": "Enabled"
}
]
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": false
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": false
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"geolocation": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/HTTP/Headers/Feature-Policy/geolocation",
Expand Down

0 comments on commit ec8c83e

Please sign in to comment.