Closed
Bug 1256822
Opened 8 years ago
Closed 8 years ago
[ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_580001_closing_after_completion.js
Categories
(DevTools :: Console, defect, P3)
DevTools
Console
Tracking
(firefox49 fixed)
RESOLVED
FIXED
Firefox 49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: linclark, Assigned: jryans, Mentored)
References
Details
(Whiteboard: [btpp-backlog][fixed by bug 1271084])
Attachments
(1 file)
1.03 KB,
patch
|
linclark
:
review+
|
Details | Diff | Splinter Review |
If you haven’t contributed to Firefox before, follow the steps here to set up your environment: https://developer.mozilla.org/en-US/docs/Tools/Contributing#Getting_set_up Then, automatically configure ESLint to work with the Firefox specific rules by following the instructions here: https://wiki.mozilla.org/DevTools/CodingStandards Then you can see the issues that need to be fixed by running > eslint --no-ignore devtools/client/webconsole/test/browser_webconsole_bug_580001_closing_after_completion.js
Reporter | ||
Updated•8 years ago
|
Whiteboard: [btpp-backlog]
Notice linting `error 'promise' is not defined` is not removed in this patch as it should be fixed somehow globally -> this error is present in many places.
Attachment #8747442 -
Flags: review?(lclark)
Reporter | ||
Comment 2•8 years ago
|
||
Good call! We can fix that by putting an .eslintrc in the directory. Look here for an example: https://dxr.mozilla.org/mozilla-central/source/devtools/client/animationinspector/test/.eslintrc I created a bug for this, Bug 1269372
Reporter | ||
Comment 3•8 years ago
|
||
Comment on attachment 8747442 [details] [diff] [review] 0001-Bug-1256822-ESLint-Fix-ESLint-issues-in-devtools-cli.patch Review of attachment 8747442 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me! Before we commit this, could you add the reviewer to the commit message? You can find the instructions here: https://developer.mozilla.org/en-US/docs/Tools/Contributing#Creating_a_patch_to_check_in. For this one, you can just add r=linclark
Attachment #8747442 -
Flags: review?(lclark) → review+
Comment 4•8 years ago
|
||
The "'promise' is not defined" error would also be fixed with the modification of head.js in bug 1256795 (https://bugzilla.mozilla.org/attachment.cgi?id=8747443&action=diff#a/devtools/client/webconsole/test/head.js_sec2).
Comment 5•8 years ago
|
||
Bug 1271084 fixed this bug.
Assignee: nobody → jryans
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Updated•8 years ago
|
Depends on: 1271084
Whiteboard: [btpp-backlog] → [btpp-backlog][fixed by bug 1271084]
Updated•8 years ago
|
status-firefox49:
--- → fixed
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•