[webkit-changes] [WebKit/WebKit] 6d5e12: Make it possible to subclass SimulatedDeviceManager

Ryosuke Niwa noreply at github.com
Tue May 9 15:38:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6d5e128211825f1e8139283ac68c649a1701868a
      https://github.com/WebKit/WebKit/commit/6d5e128211825f1e8139283ac68c649a1701868a
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M Tools/Scripts/webkitpy/xcode/simulated_device.py

  Log Message:
  -----------
  Make it possible to subclass SimulatedDeviceManager
https://bugs.webkit.org/show_bug.cgi?id=256546
<rdar://109117893>

Reviewed by Wenson Hsieh.

Turn a few of staticmethods into classmethods so that we can subclass SimulatedDeviceManager.

* Tools/Scripts/webkitpy/xcode/simulated_device.py:
(SimulatedDeviceManager):
(SimulatedDeviceManager._create_or_find_device_for_request):
(SimulatedDeviceManager.initialize_devices):

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




More information about the webkit-changes mailing list