Open
Bug 1886486
Opened 1 year ago
Make BrowserTestUtils.openNewForegroundTab fail instead of timing out
Categories
(Testing :: Mochitest, enhancement)
Testing
Mochitest
Tracking
(Not tracked)
NEW
People
(Reporter: simonf, Unassigned)
Details
When the connection fails for whatever reason the browser shows an error page but the promise never returns. Internally it uses browserLoaded which already supports a possibly useful parameter:
* @param {boolean} [maybeErrorPage = false]
* If true, this uses DOMContentLoaded event instead of load event.
* Also wantLoad will be called with visible URL, instead of
* 'about:neterror?...' for error page.
You need to log in
before you can comment on or make changes to this bug.
Description
•