mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 09:52:50 -10:00
If we switched to a window that is now closed (possible in a reftest run, for example), we might end up calling execute_async_script without a valid current window. The runner window is always supposed to be open (and if it isn't then waiting won't make much sense anyway), so switch to that before executing script in wait(). MozReview-Commit-ID: ERoN4sz5SuH