Open
Bug 1966087
Opened 5 months ago
Functions in BrowserTestUtils should normalize the input URL
Categories
(Testing :: Mochitest, enhancement)
Testing
Mochitest
Tracking
(Not tracked)
NEW
People
(Reporter: saschanaz, Unassigned)
Details
For example, passing https://example.com to waitForNewWindow makes the resulting promise never resolve, because the URL form is always https://example.com/. There are a few functions doing such string comparison, with their respective parameter:
- waitForNewWindow (via aParams.url, but just being passed to browserLoaded)
- browserLoaded (via wantLoad)
- promiseAlertDialog (via uri, but just being passed to promiseAlertDialogOpen)
- promiseAlertDialogOpen (via uri)
You need to log in
before you can comment on or make changes to this bug.
Description
•