mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 13:40:17 -10:00
It is possible for the frame loader swap within `gBrowser._swapBrowserDocShells` to fail when various frame state is either not ready yet or doesn't match between the two browsers you're trying to swap. However, such errors are currently caught and silenced in the browser, because they are apparently expected in certain cases. So, here we do our own check to verify that the swap actually did in fact take place, making it much easier to track such errors when they happen. MozReview-Commit-ID: LwuCXJQRRVW