Bug 306525
| Summary: | Keyboard Lock API Not Working STP 235 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jeffrey Blanz <possum.bracing0v> |
| Component: | DOM | Assignee: | Byungseon(Sun) Shin <sun.shin> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | possum.bracing0v, sun.shin, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 26 | ||
Jeffrey Blanz
Keyboard Lock API does not work when using a Chrome Demo.
Use the Link below and follow the steps under "Good Experience".
https://googlechrome.github.io/samples/fullscreen-keyboard-lock/
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/169219602>
Byungseon(Sun) Shin
@Jeffery This is not a bug but as intended. The test page you shared is based on WICG Keyboard Lock API.
And it is currently supported by Chrome browser (& Edge).
https://webstatus.dev/features/keyboard-lock.
And the way WebKit has is based on the Fullscreen based Keyboard Lock.
Please refer to the discussion: https://github.com/whatwg/fullscreen/pull/232.
Jeffrey Blanz
I guess that’s probably why GeForce Now, Amazon Luna, and XCloud do not support it yet. Very essential for cloud gaming on macOS, visionOS, and iPads.
Byungseon(Sun) Shin
@Jeffrey, the content provider will decide which API implementations the service can utilize.
It’s not always necessary to follow any specific APIs at this stage. As of now, there are no W3C standards in place to guide us.