Closed
Bug 956881
Opened 10 years ago
Closed 10 years ago
add a pref observer for devtools.debugger.remote-enabled to hide/show "connect" menu item
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: fitzgen, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [good first bug][mentor=nfitzgerald@mozilla.com][lang=js])
Right now, we require a refresh to get the Tools > Web Developer > Connect... menu item to show up after you enable devtools.debugger.remote-enabled. We should just use a pref observer and add and remove the menu item as the pref is changed. That way we can avoid the restart.
Reporter | ||
Comment 1•10 years ago
|
||
Helpful links for mentees: * https://wiki.mozilla.org/DevTools/Hacking * https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Preferences#Using_preference_observers * http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser-menubar.inc#489
Whiteboard: [good first bug][mentor=nfitzgerald@mozilla.com][lang=js]
Reporter | ||
Comment 2•10 years ago
|
||
Also, http://mxr.mozilla.org/mozilla-central/source/browser/devtools/framework/gDevTools.jsm#420
Reporter | ||
Comment 3•10 years ago
|
||
Nevermind, we already do this. This isn't the reason we require a restart for remote debugging.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•