Closed
Bug 1386666
Opened 8 years ago
Closed 8 years ago
Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files
Categories
(Toolkit Graveyard :: OS.File, enhancement)
Toolkit Graveyard
OS.File
Tracking
(firefox57 fixed)
RESOLVED
FIXED
mozilla57
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | fixed |
People
(Reporter: dbugs, Assigned: dbugs)
References
Details
Attachments
(1 file)
try...catch(ex if ex) isn't on a standards line and is specific to gecko.
As a result, ESLint doesn't support it, and therefore can't parse files containing it.
As part of the work towards bug 1379256, we should remove the catch(ex if ex) statements.
| Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8892929 [details]
Bug 1386666 - Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files.
https://reviewboard.mozilla.org/r/163952/#review169320
Attachment #8892929 -
Flags: review?(dtownsend) → review+
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/856215476aa4
Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
This caused a handful of lint failures: https://treeherder.mozilla.org/logviewer.html#?job_id=120465807&repo=autoland
Backed out in https://hg.mozilla.org/integration/autoland/rev/0e4a8e3983e42b0ef9fb2be2d825582f512026c9
Flags: needinfo?(dbugs)
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(dbugs)
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4558c7896403
Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
Comment 7•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Comment 8•8 years ago
|
||
https://hg.mozilla.org/projects/date/rev/856215476aa45721d2b333e65666b3f2b21f0184
Bug 1386666 - Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
https://hg.mozilla.org/projects/date/rev/4558c7896403e46dc3f6c945ac6239b8cdbfa93e
Bug 1386666 - Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
Updated•2 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•