Closed
Bug 1307936
Opened 9 years ago
Closed 9 years ago
Reset filter prefs in between tests
Categories
(DevTools :: Console, enhancement, P1)
DevTools
Console
Tracking
(firefox55 fixed)
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | fixed |
People
(Reporter: linclark, Assigned: bgrins)
References
Details
(Whiteboard: [console-html])
Attachments
(1 file)
Originally posted by:bgrins
see https://github.com/devtools-html/gecko-dev/issues/332
Right now we don't clean up filtering after browser_webconsole_filters.js finishes, so the error filter is off for the rest of the tests. This'll eventually cause a problem, so we should make sure to reset it in a cleanup function in our head.js file
| Reporter | ||
Updated•9 years ago
|
Priority: -- → P2
Whiteboard: new-console
Updated•9 years ago
|
Updated•9 years ago
|
Whiteboard: [new-console] → [console-html]
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Updated•9 years ago
|
Iteration: --- → 55.6 - May 29
Priority: P2 → P1
| Comment hidden (mozreview-request) |
Comment 3•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8869256 [details]
Bug 1307936 - Reset filter prefs in between console mochitests;
https://reviewboard.mozilla.org/r/140820/#review145392
Looks reasonable to me, thanks!
Btw. rebase needed.
Honza
::: devtools/client/webconsole/new-console-output/test/mochitest/head.js:25
(Diff revision 2)
>
> Services.prefs.setBoolPref("devtools.webconsole.new-frontend-enabled", true);
> registerCleanupFunction(function* () {
> Services.prefs.clearUserPref("devtools.webconsole.new-frontend-enabled");
>
> + // Reset all filter prefs between tests. First flushPrefEnv in case one of the
nit: two spaces between `tests.` and `First`
Attachment #8869256 -
Flags: review?(odvarko) → review+
| Comment hidden (mozreview-request) |
Pushed by bgrinstead@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c39826d3493f
Reset filter prefs in between console mochitests;r=Honza
Comment 6•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•