[webkit-changes] [WebKit/WebKit] a77b02: [webkitpy] Add "keep alive" option to SimulatedDev...

Ben noreply at github.com
Thu Apr 25 15:45:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a77b026ded7b2928ff8974317c2bc91cb91c8d97
      https://github.com/WebKit/WebKit/commit/a77b026ded7b2928ff8974317c2bc91cb91c8d97
  Author: Ben Schwartz <ben_schwartz at apple.com>
  Date:   2024-04-25 (Thu, 25 Apr 2024)

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

  Log Message:
  -----------
  [webkitpy] Add "keep alive" option to SimulatedDeviceManager.initialize_devices.
https://bugs.webkit.org/show_bug.cgi?id=273259
rdar://127061752

Reviewed by Jonathan Bedard.

Simulated devices are currently destroyed after webkitpy exits. This has served our
use cases until this point; however, in the interest of making webkitpy able to
handle more generalized use cases, this PR adds a "keep alive" option to
SimulatedDeviceManager.initialize_devices. This will allow scripts to invoke this
method with the intention of keeping the initialized devices running after script
exit.

* Tools/Scripts/webkitpy/xcode/simulated_device.py:
(SimulatedDeviceManager.initialize_devices): Add keep_alive parameter which skips registration of SimulatedDeviceManager.tear_down as the exit method.

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



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


More information about the webkit-changes mailing list