Open
Bug 1619009
Opened 5 years ago
Updated 3 years ago
Make the BrowserTestUtils.waitForNewWindow parameters similar to waitForNewTab
Categories
(Testing :: Mochitest, enhancement)
Tracking
(Not tracked)
NEW
People
(Reporter: mconley, Unassigned)
Details
waitForNewTab
accepts a function for the wantLoad
argument so that callers can run a function to check that the newly created tab has an expected URL rather than passing in a raw URL string.
For consistency, we should have similar support in waitForNewWindow
. See bug 1617983 and https://phabricator.services.mozilla.com/D64603 for additional context.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•