Skip to content

Commit

Permalink
Update Chrome/Safari versions for sandbox="allow-pointer-lock"
Browse files Browse the repository at this point in the history
This was implemented in WebKit 537.6:
WebKit/WebKit@73c18e6
https://github.com/WebKit/WebKit/blob/73c18e62d7b18a7ad8c626be054f7a3845e53506/Source/WebCore/Configurations/Version.xcconfig

That maps to Chrome 23 and Safari 7.

Those versions need to be clamped to support for requestPointerLock(),
which is Chrome 22 and Safari 10.1. Pointer lock isn't supported on iOS.

All in all: Chrome 23 and Safari 10.1.
  • Loading branch information
foolip committed Jul 19, 2024
1 parent 9832a65 commit 9ae64ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions html/elements/iframe.json
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@
],
"support": {
"chrome": {
"version_added": "≤49"
"version_added": "23"
},
"chrome_android": "mirror",
"edge": "mirror",
Expand All @@ -890,7 +890,7 @@
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": "10.1"
"version_added": "10.1"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
Expand Down

0 comments on commit 9ae64ef

Please sign in to comment.