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
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.
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][firstname.lastname@example.org][lang=js]
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
You need to log in before you can comment on or make changes to this bug.