Fix typo in Feature Policy for idle-detection

As listed in MDN, the policy is spelled as `idle-detection`, and not as `idle_detection`. Hence, browsers were unable to process the policy correctly, effectively ignoring it.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy/idle-detection
This commit is contained in:
Sebastian Serth 2024-04-13 18:34:30 +02:00 committed by GitHub
parent 92591ebd54
commit 33ee5d659d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ module ActionDispatch # :nodoc:
geolocation: "geolocation",
gyroscope: "gyroscope",
hid: "hid",
idle_detection: "idle_detection",
idle_detection: "idle-detection",
magnetometer: "magnetometer",
microphone: "microphone",
midi: "midi",