[Webkit-unassigned] [Bug 247368] New: Crash in gamepads in WKWebView apps that also listen to the GameController framework themselves
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 2 09:22:40 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=247368
Bug ID: 247368
Summary: Crash in gamepads in WKWebView apps that also listen
to the GameController framework themselves
Product: WebKit
Version: Safari 16
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: beidson at apple.com
Crash in gamepads in WKWebView apps that also listen to the GameController framework themselves
If an app's UI process uses GameController framework directly before a web page in a WKWebView does, then the GameController framework tells that app about attached controllers ahead of time.
This subtlely gets WebKit's notion of attached game controllers out of sync with reality.
If the user then moves a joystick on the gamepad to cause input (but not press a button to cause the gamepad to be exposed to the web page) then we crash. (And ASSERT in debug builds)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221102/db0b1fd7/attachment.htm>
More information about the webkit-unassigned
mailing list