Skip to content
Open
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
39 changes: 39 additions & 0 deletions http/headers/Permissions-Policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,45 @@
}
}
},
"gamepad": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/HTTP/Reference/Headers/Permissions-Policy/gamepad",
"spec_url": "https://www.w3.org/TR/gamepad/#permission-policy",
"support": {
"chrome": {
"version_added": "86",
"flags": [
{
"type": "preference",
"name": "#restrict-gamepad-access",
"value_to_set": "Enabled"
}
]
Comment on lines +668 to +675
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably 103 according to https://chromium-review.googlesource.com/c/chromium/src/+/3566388

Suggested change
"version_added": "86",
"flags": [
{
"type": "preference",
"name": "#restrict-gamepad-access",
"value_to_set": "Enabled"
}
]
"version_added": "103"

},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe 17.4 according to https://webkit.org/blog/14916/release-notes-for-safari-technology-preview-186/ (and assuming it then went into what I believe is the corresponding release)

Suggested change
"version_added": false
"version_added": "17.4"

Copy link
Contributor

Choose a reason for hiding this comment

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

},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"hid": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/HTTP/Reference/Headers/Permissions-Policy/hid",
Expand Down
Loading