Closed
Bug 1408927
Opened 7 years ago
Closed 7 years ago
Enable browser_webconsole_closing_after_completion.js in the new console frontend
Categories
(DevTools :: Console, enhancement, P3)
DevTools
Console
Tracking
(firefox59 fixed)
RESOLVED
FIXED
Firefox 59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(1 file)
No description provided.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8928445 [details]
Bug 1408927 - Enable browser_webconsole_closing_after_completion.js in the new console frontend; .
https://reviewboard.mozilla.org/r/199702/#review204792
The migration looks good, but the test is not doing what its name says. There is no "completion" in the test. So I did a bit of archeology :)
I traced back the origin of the test and it comes from https://hg.mozilla.org/mozilla-central/rev/aff7615b9d2c
A lot of hud tests were mixed into this huge test: https://hg.mozilla.org/mozilla-central/file/aff7615b9d2c/toolkit/components/console/hudservice/tests/browser/browser_HUDServiceTestsAll.js
"webconsole_closing_after_completion" was called testWebConsoleClose().
At that time, our test was run at the end of another test: testErrorOnPageReload().
testErrorOnPageReload() has then been migrated to "browser_webconsole_bug_580030_errors_after_page_reload" and the two tests were separated.
So, I am not sure this test is actually relevant without being run after "errors_after_page_reload". I think we should at least update the comments and name of the test to stick to the reality (=> no errors when closing the console). And maybe file a follow up to improve "errors_after_page_reload" and test what used to be tested?
Attachment #8928445 -
Flags: review?(jdescottes) → review+
Assignee | ||
Comment 3•7 years ago
|
||
Thanks for the review and the digging !
I'd rather fix this test and try to do completion in this test as well.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 5•7 years ago
|
||
Added a completion before closing, since it seemed to be what was failing originally.
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b9c6e46ba1cc
Enable browser_webconsole_closing_after_completion.js in the new console frontend; r=jdescottes.
Comment 7•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•