There are a few edge-cases with <https://bugs.webkit.org/show_bug.cgi?id=192161> when simulators are already booted that the existing code does not cover.
<rdar://problem/46532001>
Created attachment 356745 [details] Patch
Comment on attachment 356745 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=356745&action=review Can we add a test for this? > Tools/Scripts/webkitpy/port/device_port.py:134 > + if result != 0 and self.DEVICE_MANAGER == SimulatedDeviceManager: Nit: We don't compare against 0 per our style guideline.
(In reply to Ryosuke Niwa from comment #3) > Comment on attachment 356745 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=356745&action=review > > Can we add a test for this? > ... > Not for all of it (anything that interfaces with simctl or actual devices is difficult to test in a cross-platform manner) , but I'll definitely include some.
Created attachment 356753 [details] Patch
Comment on attachment 356753 [details] Patch Clearing flags on attachment: 356753 Committed r238944: <https://trac.webkit.org/changeset/238944>
All reviewed patches have been landed. Closing bug.
Committed r238966: <https://trac.webkit.org/changeset/238966>