[RBSTarget targetWithPid:] may throw a 'must specify a valid pid' exception since r259610. There are apparently cases where the PID we are passing the ProcessAssertion is 0 (likely process crash on startup). BKSAssertion used to deal with this silently but RBSAssertion actually throws an exception in this case. To maintain the old behavior, we should do an explicit check to make sure the PID is valid before passing it to RunningBoard.
Created attachment 395743 [details] Patch
Committed r259717: <https://trac.webkit.org/changeset/259717> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395743 [details].
<rdar://problem/61456395>