Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e7ffac0f4edddadd2999733b109277919ae9bab9
      
https://github.com/WebKit/WebKit/commit/e7ffac0f4edddadd2999733b109277919ae9bab9
  Author: Dawn Morningstar <[email protected]>
  Date:   2026-08-22 (Sat, 22 Aug 2026)

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

  Log Message:
  -----------
  [webkitpy] Support pre-boot launchd configuration for simulated devices
https://bugs.webkit.org/show_bug.cgi?id=322243
rdar://185473232

Reviewed by David Kilzer.

launchd_sim reads its config when it starts, so if a port wants something in
place for the boot itself it has to be written before we boot the device.
This allows for a port to supply something for the boot.

* Tools/Scripts/webkitpy/xcode/simulated_device.py:
(SimulatedDeviceManager):
(SimulatedDeviceManager._configure_launchd_before_booting):
(SimulatedDeviceManager._boot_device):
* Tools/Scripts/webkitpy/xcode/simulated_device_unittest.py:
(FakeDevice):
(FakeAdditions):
(FakeAdditions.__init__):
(FakeAdditions.launchd_configuration):
(setUp):
(tearDown):
(_run_with):
(_path):
(test_configuration_is_written_before_boot):
(test_every_named_file_is_written):
(test_nothing_written_without_apple_additions):
(test_nothing_written_when_no_configuration_is_given):
(test_existing_keys_are_kept):
(test_unreadable_file_is_replaced_rather_than_raising):
(test_failure_to_write_is_not_fatal):
(test_failure_to_write_is_not_fatal.refuse):

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



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

Reply via email to