Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 809586a6b81ed6b9f46cda1c990392e90182266a
      
https://github.com/WebKit/WebKit/commit/809586a6b81ed6b9f46cda1c990392e90182266a
  Author: Brady Eidson <beid...@apple.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M Source/WebKit/UIProcess/Gamepad/UIGamepadProvider.cpp

  Log Message:
  -----------
  Crash in gamepads in WKWebView apps that also listen to the GameController 
framework themselves
https://bugs.webkit.org/show_bug.cgi?id=247368 and rdar://100036005

Reviewed by Geoff Garen.

No test possible for now.

* Source/WebKit/UIProcess/Gamepad/UIGamepadProvider.cpp:
(WebKit::UIGamepadProvider::platformGamepadInputActivity): Handle a mismatch 
between platform gamepads
  and established gamepads. This can happen when there's "invisible" gamepads 
still, and the current
  input event will not reveal them to WebContent. And it's fine: Things get 
resolved when an input
  even *does* reveal the gamepads to the web page.

Canonical link: https://commits.webkit.org/256255@main


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to