Closed Bug 1307936 Opened 9 years ago Closed 9 years ago

Reset filter prefs in between tests

Categories

(DevTools :: Console, enhancement, P1)

enhancement

Tracking

(firefox55 fixed)

RESOLVED FIXED
Firefox 55
Iteration:
55.6 - May 29
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
Priority: -- → P2
Whiteboard: new-console
Flags: qe-verify-
Whiteboard: new-console → [new-console]
Whiteboard: [new-console] → [console-html]
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Iteration: --- → 55.6 - May 29
Priority: P2 → P1
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+
Pushed by bgrinstead@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c39826d3493f Reset filter prefs in between console mochitests;r=Honza
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: