Any time we need to switch Firefox windows, we need to use a lock to prevent multiple simultaneous requests. If we do not, interleaved Marionette commands may result in performing operations on the wrong window. For example, making two simultaneous requests for screenshots is liable to return the wrong window for one of them. |
||
---|---|---|
svc |