[Webkit-unassigned] [Bug 216861] New: When browser is killed/reopened, getGamepads returns objects with "" id and mapping
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 22 17:55:31 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=216861
Bug ID: 216861
Summary: When browser is killed/reopened, getGamepads returns
objects with "" id and mapping
Product: WebKit
Version: Safari 14
Hardware: iPhone / iPad
OS: Other
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: juberti at google.com
Created attachment 409431
--> https://bugs.webkit.org/attachment.cgi?id=409431&action=review
Screenshot from STP 113 debugger of Gamepad object
Reproduces on Safari 14.0 GA on iPad and iPhone.
There may be other ways of triggering this, but one that often works is killing the browser from a page that is polling the gamepad. When reopening that page, getGamepads continues reporting a gamepad attached, but the .id and .mapping fields of the Gamepad are now set to "", which confuses the page.
See attached debugger screenshot for details. Previously for this controller .id was reported as "Kishi Extended Gamepad" and .mapping was "standard".
--
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/20200923/75b5ab96/attachment-0001.htm>
More information about the webkit-unassigned
mailing list