Closed
Bug 1726038
Opened 4 years ago
Closed 4 years ago
browser_partitionedClearSiteDataHeader.js has an unexpected comma operator
Categories
(Core :: Storage: StorageManager, defect)
Core
Storage: StorageManager
Tracking
()
RESOLVED
FIXED
93 Branch
| Tracking | Status | |
|---|---|---|
| firefox93 | --- | fixed |
People
(Reporter: standard8, Assigned: emz)
References
Details
Attachments
(1 file)
I'm looking to update ESLint, and it is picking up an instance of a unexpected comma operator:
toolkit/components/antitracking/test/browser/browser_partitionedClearSiteDataHeader.js
148:16 error Unexpected use of comma operator. no-sequences (eslint)
This was introduced by bug 1685355. The code in question is:
await BrowserTestUtils.withNewTab(
(browserA, CLEAR_SITE_DATA_URL_ORIGIN_A),
() => {}
);
I think the test is operating by only passing CLEAR_SITE_DATA_URL_ORIGIN_A to withNewTab, however, I'm not sure if that is intentional or not. Paul, would you be able to take a look?
Flags: needinfo?(pbz)
| Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → pbz
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•4 years ago
|
||
Good catch, thank you. I've submitted a patch to fix this. The fix doesn't change the behavior of the test.
Flags: needinfo?(pbz)
Pushed by pzuhlcke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1a79385f2a43
Fixed unexpected comma operator in clearSiteData test. r=Standard8
Comment 4•4 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox93:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•