Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 19ddb1eeb7ce033a7947ef473e7bed0e86d46cff
      
https://github.com/WebKit/WebKit/commit/19ddb1eeb7ce033a7947ef473e7bed0e86d46cff
  Author: Aleksei Marchenko <[email protected]>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M Source/WebCore/Modules/gamepad/GamepadManager.cpp

  Log Message:
  -----------
  [visionOS] Pulse gamepadsRecentlyAccessed when gamepad event listeners are 
registered
https://bugs.webkit.org/show_bug.cgi?id=284375
rdar://141623162

Reviewed by Mike Wyrzykowski.

Call gamepadsRecentlyAccessed() from GamepadManager::registerDOMWindow()
on visionOS so the permission banner can appear when a gamepad connects
after the hysteresis expires, or for pages that rely solely on gamepad
event listeners without calling navigator.getGamepads().

* Source/WebCore/Modules/gamepad/GamepadManager.cpp:
(WebCore::GamepadManager::registerDOMWindow):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to