Closed
Bug 1726037
Opened 3 years ago
Closed 3 years ago
browser_jsterm_autocomplete_race_on_enter.js has an unexpected comma operator
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(firefox94 fixed)
RESOLVED
FIXED
94 Branch
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: standard8, Assigned: nchevobbe)
References
Details
Attachments
(1 file)
I'm looking to update ESLint, and it is picking up an instance of a unexpected comma operator:
devtools/client/webconsole/test/browser/browser_jsterm_autocomplete_race_on_enter.js
132:35 error Unexpected use of comma operator. no-sequences (eslint)
This was introduced by bug 1595068. The code in question is:
await Promise.all[(onPopupClosed, onMessage)];
The brackets are the wrong way around. If I try to fix it, then the test hangs. Nicolas would you be able to take a look?
Flags: needinfo?(nchevobbe)
Assignee | ||
Comment 1•3 years ago
|
||
sure, let me pick that up
(sorry for the late response, I'm just back from PTO)
Flags: needinfo?(nchevobbe)
Assignee | ||
Comment 2•3 years ago
|
||
The test had a weird syntax which was preventing a Promise.all call
to be actually completed.
Fixing the syntax error showed a flaw in the test so it had to be
fixed.
Updated•3 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0581e2bb02c5 [devtools] Fix browser_jsterm_autocomplete_race_on_enter . r=bomsy.
Comment 4•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox94:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•