WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
216861
When browser is killed/reopened, getGamepads returns objects with "" id and mapping
https://bugs.webkit.org/show_bug.cgi?id=216861
Summary
When browser is killed/reopened, getGamepads returns objects with "" id and m...
Justin Uberti
Reported
2020-09-22 17:55:31 PDT
Created
attachment 409431
[details]
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".
Attachments
Screenshot from STP 113 debugger of Gamepad object
(30.84 KB, image/png)
2020-09-22 17:55 PDT
,
Justin Uberti
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-09-22 18:46:30 PDT
<
rdar://problem/69406014
>
Justin Uberti
Comment 2
2020-10-13 17:39:09 PDT
Any updates on this issue? It's pretty common in my use of Safari 14.
Brady Eidson
Comment 3
2024-03-29 09:16:21 PDT
This no longer reproduces (though I'm not sure when it was resolved)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug