Skip to content

Commit 2bdb482

Browse files
authored
Merge pull request rails#51944 from cbldev/main
Update permissions policy list with display-capture and keyboard-map
2 parents f3b154d + 6cb41ba commit 2bdb482

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

actionpack/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@
1010

1111
*Joe Haig*
1212

13+
* Add `display_capture` and `keyboard_map` in `permissions_policy`
14+
15+
*Cyril Blaecke*
16+
1317
Please check [7-2-stable](https://github.com/rails/rails/blob/7-2-stable/actionpack/CHANGELOG.md) for previous changes.

actionpack/lib/action_dispatch/http/permissions_policy.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,14 @@ def permissions_policy=(policy)
9393
ambient_light_sensor: "ambient-light-sensor",
9494
autoplay: "autoplay",
9595
camera: "camera",
96+
display_capture: "display-capture",
9697
encrypted_media: "encrypted-media",
9798
fullscreen: "fullscreen",
9899
geolocation: "geolocation",
99100
gyroscope: "gyroscope",
100101
hid: "hid",
101102
idle_detection: "idle-detection",
103+
keyboard_map: "keyboard-map",
102104
magnetometer: "magnetometer",
103105
microphone: "microphone",
104106
midi: "midi",

0 commit comments

Comments
 (0)