To run caller R:
Let A be the following steps:
Fire an event named "a".
Queue a microtask, given A.
To run caller S:
Let B be the following steps:
Fire an event named "b".
Queue a microtask, given B.
To run the same-segment case:
Queue a microtask to fire an event named "a".
queue a microtask and fire an event are target stubs.