Closed Bug 988661 Opened 10 years ago Closed 10 years ago

Implement enable addon debugging option in Toolbox

Categories

(DevTools :: Framework, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 31

People

(Reporter: jsantell, Assigned: jsantell)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 2 obsolete files)

Implement an option to "Enable addon debugging" alongside chrome and remote debugging in toolbox options
Assignee: nobody → jsantell
Attachment #8397934 - Flags: review?(jryans)
Comment on attachment 8397934 [details] [diff] [review]
988661-enable-addon-debugging.patch

Review of attachment 8397934 [details] [diff] [review]:
-----------------------------------------------------------------

Well, the patch itself looks fine...

But, let's fold this into the chrome debugging pref, since that's likely the same user base and it's a similar functionality.

So, we'd update the label on the chrome pref to say something like "Enable chrome and addon debugging" and then you'd need to test that pref instead.

::: browser/locales/en-US/chrome/browser/devtools/toolbox.dtd
@@ +69,4 @@
>  <!ENTITY options.enableRemote.label3    "Enable remote debugging">
>  <!ENTITY options.enableRemote.tooltip   "Turning this option on will allow the developer tools to debug remote Firefox instance like Firefox OS">
>  
> +<!-- LOCALIZATION NOTE (options.enableAddon.label3): This is the label for the

Nit: Drop the "3" everywhere.
Attachment #8397934 - Flags: review?(jryans)
Now using `devtools.chrome.enabled` for all of addon debugger, and changed verbiage on the checkbox in the options
Attachment #8397934 - Attachment is obsolete: true
Attachment #8398075 - Flags: review?(jryans)
Comment on attachment 8398075 [details] [diff] [review]
988661-enable-addon-debugging.patch

Review of attachment 8398075 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/locales/en-US/chrome/browser/devtools/toolbox.dtd
@@ +59,5 @@
>  
>  <!-- LOCALIZATION NOTE (options.enableChrome.label3): This is the label for the
>    -  checkbox that toggles chrome debugging, i.e. devtools.chrome.enabled
>    -  boolean preference in about:config, in the options panel. -->
> +<!ENTITY options.enableChrome.label3    "Enable chrome and addon debugging">

We have to change the string IDs when the text changes...  So label3 -> label4 I guess.

@@ +60,5 @@
>  <!-- LOCALIZATION NOTE (options.enableChrome.label3): This is the label for the
>    -  checkbox that toggles chrome debugging, i.e. devtools.chrome.enabled
>    -  boolean preference in about:config, in the options panel. -->
> +<!ENTITY options.enableChrome.label3    "Enable chrome and addon debugging">
> +<!ENTITY options.enableChrome.tooltip   "Turning this option on will allow you to use various developer tools in browser context and debug addons from the Add-On Manager">

tooltip -> tooltip2
Attachment #8398075 - Flags: review?(jryans) → review+
nits fixed
Attachment #8398075 - Attachment is obsolete: true
Attachment #8398174 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/3bc0725093c5
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 31
Depends on: 1026123
Flags: in-testsuite+
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: