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
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)
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
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+
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).
Bug 1271084 fixed this bug.
Assignee: nobody → jryans
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Depends on: 1271084
Whiteboard: [btpp-backlog] → [btpp-backlog][fixed by bug 1271084]
You need to log in before you can comment on or make changes to this bug.