Closed
Bug 1256778
Opened 10 years ago
Closed 9 years ago
[ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_bug664688_sandbox_update_after_navigation.js
Categories
(DevTools :: Console, defect, P3)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: linclark, Assigned: mkohler, Mentored)
References
Details
(Whiteboard: [btpp-backlog])
Attachments
(1 file)
|
1.32 KB,
patch
|
bgrins
:
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_bug664688_sandbox_update_after_navigation.js
| Reporter | ||
Updated•10 years ago
|
Whiteboard: [btpp-backlog]
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → me
Comment 1•9 years ago
|
||
I'll take this one. Feel free to assign to me.
| Assignee | ||
Comment 2•9 years ago
|
||
(In reply to Wellington Cordeiro from comment #1)
> I'll take this one. Feel free to assign to me.
I have actually a patch almost ready. Would you mind taking another one from https://bugzilla.mozilla.org/buglist.cgi?chfield=%5BBug%20creation%5D&chfieldfrom=2016-03-14&short_desc_type=allwordssubstr&known_name=eslint&short_desc=%5BESLint%5D&resolution=---&query_based_on=eslint&chfieldto=Now&query_format=advanced&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&component=Developer%20Tools%3A%20Console&product=Firefox&list_id=12920760 ?
| Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8749971 -
Flags: review?(jlaster)
| Assignee | ||
Updated•9 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•9 years ago
|
||
Comment 5•9 years ago
|
||
per bgrins comment on this bug 1256848, I believe that the yield for loadUri is unnecessary.
Updated•9 years ago
|
Attachment #8749971 -
Flags: review?(jlaster) → review?(bgrinstead)
Comment 6•9 years ago
|
||
Comment on attachment 8749971 [details] [diff] [review]
0001-Bug-1256778-ESLint.patch
Review of attachment 8749971 [details] [diff] [review]:
-----------------------------------------------------------------
::: devtools/client/webconsole/test/browser_bug664688_sandbox_update_after_navigation.js
@@ +42,4 @@
> yield waitForMessages(msgForLocation1);
>
> // load second url
> + yield BrowserTestUtils.loadURI(gBrowser.selectedBrowser, TEST_URI2);
Yeah, no need to yield here
Attachment #8749971 -
Flags: review?(bgrinstead) → review+
| Assignee | ||
Comment 7•9 years ago
|
||
This has been fixed in the mean time.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•