Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d1c750f5144b5444e7c646fd2718b6396981d117
https://github.com/WebKit/WebKit/commit/d1c750f5144b5444e7c646fd2718b6396981d117
Author: Ben Schwartz <[email protected]>
Date: 2026-01-07 (Wed, 07 Jan 2026)
Changed paths:
M Tools/Scripts/webkitpy/port/embedded_port.py
M Tools/Scripts/webkitpy/port/visionos_simulator.py
Log Message:
-----------
[webkitpy] Fix simulated device resolution with no explicit default device
type match.
https://bugs.webkit.org/show_bug.cgi?id=305000
rdar://167641789
Reviewed by Jonathan Bedard.
All simulated device ports have default device types. Currently, if there are
no exact name matches with the devices created on the system, webkitpy fails
to resolve a device to use.
So, this change determines usable devices by pulling the supported devices
from the available runtimes on the machine.
* Tools/Scripts/webkitpy/port/embedded_port.py:
(EmbeddedPort.get_available_simulators_of_type_from_xcrun): Determine available
simulator device types from available runtimes.
(EmbeddedPort.supported_device_types): Fallback to another embedded simulator
of the desired software type.
* Tools/Scripts/webkitpy/port/visionos_simulator.py:
(VisionOSSimulatorPort): Remove apple_additions.
Canonical link: https://commits.webkit.org/305227@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications