Closed
Bug 1417383
Opened 7 years ago
Closed 6 years ago
Move tests directly under docshell/tests into sub-directories to aid ESLint
Categories
(Core :: DOM: Navigation, enhancement, P3)
Core
DOM: Navigation
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(3 files)
Currently we have tests directly under docshell/tests, as well as within sub-directories of it.
I'm guessing the sub-directories were added for different types of tests.
From an ESLint perspective, managing this is really difficult - applying rules/globals to the docshell/tests directory, will also apply to the sub-directories, which may allow accidental use of globals or other items that aren't allowed, degrading the developer experience.
I think the tests directly under that directory should be moved into docshell/tests/mochitest.
Updated•7 years ago
|
Priority: -- → P3
Comment 1•7 years ago
|
||
I have a patch for this and will get back to it later this week (hopefully).
Assignee: nobody → overholt
Assignee | ||
Comment 2•6 years ago
|
||
Andrew, do you still have a patch for this, or would it need regenerating?
Flags: needinfo?(overholt)
Comment 3•6 years ago
|
||
It needs regenerating (and I don't have it handy). I won't have time this week, unfortunately. qDot is working in docshell these days, maybe he has a second to do this?
Assignee: overholt → nobody
Flags: needinfo?(overholt) → needinfo?(kyle)
Assignee | ||
Comment 5•6 years ago
|
||
qDot has agreed that I can take this over, I should be able to find time sometime later this week.
Assignee: kyle → standard8
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D7052
Assignee | ||
Comment 8•6 years ago
|
||
Depends on D7053
Assignee | ||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Comment on attachment 9012522 [details]
Bug 1417383 - Add initial .eslintrc.js files for docshell test directories (not enabled yet).
Kyle Machulis [:qdot] [:kmachulis] (if a patch has no decent commit message, automatic r-) has approved the revision.
Attachment #9012522 -
Flags: review+
Comment 11•6 years ago
|
||
Comment on attachment 9012520 [details]
Bug 1417383 - Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint.
Kyle Machulis [:qdot] [:kmachulis] (if a patch has no decent commit message, automatic r-) has approved the revision.
Attachment #9012520 -
Flags: review+
Comment 12•6 years ago
|
||
Comment on attachment 9012519 [details]
Bug 1417383 - Remove unused test files that were missed in bug 1427726.
Kyle Machulis [:qdot] [:kmachulis] (if a patch has no decent commit message, automatic r-) has approved the revision.
Attachment #9012519 -
Flags: review+
Comment 13•6 years ago
|
||
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ddaef0a8de5f
Remove unused test files that were missed in bug 1427726. r=qdot
https://hg.mozilla.org/integration/autoland/rev/d0d9cd85f3db
Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot
https://hg.mozilla.org/integration/autoland/rev/44d07650e6fe
Add initial .eslintrc.js files for docshell test directories (not enabled yet). r=qdot
Comment 14•6 years ago
|
||
Backout by shindli@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/88315c6735de
Backed out 3 changesets for bustages in /builds/worker/workspace/build/src/docshell/test/mochitest/moz.build CLOSED TREE
Comment 15•6 years ago
|
||
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a3269d08cf46
Remove unused test files that were missed in bug 1427726. r=qdot
https://hg.mozilla.org/integration/autoland/rev/3367b2fb2771
Move mochitests from docshell/test/ to docshell/test/mochitest/ to aid ESLint. r=qdot
https://hg.mozilla.org/integration/autoland/rev/cd7aa09c2b62
Add initial .eslintrc.js files for docshell test directories (not enabled yet). r=qdot
Comment 16•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a3269d08cf46
https://hg.mozilla.org/mozilla-central/rev/3367b2fb2771
https://hg.mozilla.org/mozilla-central/rev/cd7aa09c2b62
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•6 years ago
|
status-firefox59:
affected → ---
QA Contact: kyle
Updated•6 years ago
|
QA Contact: kyle
You need to log in
before you can comment on or make changes to this bug.
Description
•