Closed
Bug 1657074
Opened 4 years ago
Closed 4 years ago
Refactor 'toggleJavaScript' mochitest helper function to make it reusable
Categories
(DevTools :: Debugger, task)
DevTools
Debugger
Tracking
(firefox81 fixed)
RESOLVED
FIXED
81 Branch
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: stepan, Assigned: stepan)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
As suggested in revision D81678, the current toggleJavaScript
function is used for toggling one menu item in the debugger settings.
https://searchfox.org/mozilla-central/source/devtools/client/debugger/test/mochitest/browser_dbg-settings-disable-javascript.js#7
It would be nice to refactor this function so it can be used for toggling any menu item and move it to helpers.js to make it reusable by other tests as well.
Assignee | ||
Comment 1•4 years ago
|
||
As suggested in revision [[ D8167| https://phabricator.services.mozilla.com/D81678#inline-485161]] the current toggleJavaScript
function is used for toggling one menu item in the debugger settings.
This patch refactors this function to be reusable by other tests.
Updated•4 years ago
|
Assignee: nobody → stepanstava
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0c48ca91e5d9
Refactor 'toggleJavaScript' mochitest helper function to make it reusable r=nchevobbe
Comment 3•4 years ago
|
||
bugherder |
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
status-firefox81:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•