Open
Bug 1770581
Opened 3 years ago
Updated 2 years ago
Some test files still use "await BrowserTestUtils.removeTab"
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
NEW
People
(Reporter: kernp25, Unassigned, NeedInfo)
References
Details
When searching for await BrowserTestUtils.removeTab, it will list some test files that still uses await BrowserTestUtils.removeTab
.
Bug 1442465 removed the promise.
Flags: needinfo?(rob)
Updated•3 years ago
|
Status: UNCONFIRMED → NEW
Component: General → Session Restore
Ever confirmed: true
Comment 1•3 years ago
|
||
With the API not being async
any more, await
is not strictly necessary.
The presence of it in the test does not break the test (but it does add confusion over whether await
is needed).
It may be safe to just remove all await
s, but it is also possible that some tests indirectly relied on the extra tick that await
affords. If you'd like, submit a patch that removes await
, and see if it sticks (which is quite likely).
Flags: needinfo?(rob)
Comment 2•2 years ago
|
||
The severity field is not set for this bug.
:dao, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(dao+bmo)
You need to log in
before you can comment on or make changes to this bug.
Description
•