Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5b287de62f0bc75d0746195b3ba818803c7273ce
      
https://github.com/WebKit/WebKit/commit/5b287de62f0bc75d0746195b3ba818803c7273ce
  Author: Darryl Parkinson <d_parkin...@apple.com>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

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

  Log Message:
  -----------
  Fix Gamepad CoreIPC messages from being sent when flag is disabled
https://bugs.webkit.org/show_bug.cgi?id=297277
rdar://problem/158142493

Reviewed by Sihui Liu.

Add sender side validation to prevent Gamepad related IPC to be sent when the 
feature flag is disabled. This prevents crashes not the CoreIPC endpoints are 
protected with the feature flag.

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

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to