Closed
Bug 761153
Opened 12 years ago
Closed 12 years ago
Use the same preferences for enabling and configuring the remote debugging server across products
Categories
(DevTools :: Debugger, defect, P2)
DevTools
Debugger
Tracking
(firefox15 fixed)
RESOLVED
FIXED
Firefox 16
Tracking | Status | |
---|---|---|
firefox15 | --- | fixed |
People
(Reporter: past, Assigned: past)
References
Details
Attachments
(3 files)
2.41 KB,
patch
|
mossop
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
3.80 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
1.42 KB,
patch
|
vingtetun
:
review+
|
Details | Diff | Splinter Review |
Currently we are using different preferences to enable the remote debugging server across desktop Firefox, Firefox for Android and B2G, and to configure the port number:
- Desktop: devtools.debugger.remote-enabled, devtools.debugger.remote-port
- B2G: devtools.debugger.enabled, devtools.debugger.port
- Android: remote-debugger.enabled, remote-debugger.port
This has not been a big deal so far, but since we are going to be providing users with docs about enabling remote debugging soon, I think it's time we fix this discrepancy. After bug 758696, the check for devtools.debugger.remote-enabled is done in two places:
1) in the desktop UI, to decide whether the 'Remote Debugger' menu option should be displayed
2) in the server listener, to decide whether it should open a socket for incoming connections
The latter is done in toolkit/ so the respective pref must move there as well, in order to be reachable from other products as well.
In order to harmonize our code, I propose we use the same preferences found in desktop Firefox, in all of our products.
Assignee | ||
Comment 2•12 years ago
|
||
Without this patch I need to manually set devtools.debugger.remote-enabled in about:config to get a working debugging connection.
Attachment #629834 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 3•12 years ago
|
||
Same as Fennec, I need to set devtools.debugger.remote-enabled to enable remote debugging without this patch.
Attachment #629835 -
Flags: review?(21)
Attachment #629835 -
Flags: review?(21) → review+
Updated•12 years ago
|
Attachment #629834 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Comment on attachment 629833 [details] [diff] [review]
Desktop patch
Actually, since this is not devtools code and robcee is on PTO, I might as well ask Mossop for a review.
Attachment #629833 -
Flags: review?(rcampbell) → review?(dtownsend+bugmail)
Updated•12 years ago
|
Attachment #629833 -
Flags: review?(dtownsend+bugmail) → review+
Assignee | ||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/877beffa7465
https://hg.mozilla.org/integration/fx-team/rev/6885795fc0b6
https://hg.mozilla.org/integration/fx-team/rev/c3616d652386
Whiteboard: [fixed-in-fx-team]
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/877beffa7465
https://hg.mozilla.org/mozilla-central/rev/6885795fc0b6
https://hg.mozilla.org/mozilla-central/rev/c3616d652386
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 16
Comment 7•12 years ago
|
||
do we need all three of these patches on aurora?
tracking-firefox15:
--- → ?
Comment 8•12 years ago
|
||
Comment on attachment 629833 [details] [diff] [review]
Desktop patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): New feature.
User impact if declined: different platforms will have different configuration options.
Testing completed (on m-c, etc.): on m-c.
Risk to taking this patch (and alternatives if risky): low risk, pref changes only.
String or UUID changes made by this patch:
Pref changes to firefox.js:
-pref("devtools.debugger.remote-enabled", false);
pref("devtools.debugger.remote-host", "localhost");
-pref("devtools.debugger.remote-port", 6000);
Pref changes to all.js:
+// Disable remote debugging connections
+pref("devtools.debugger.remote-enabled", false);
+pref("devtools.debugger.remote-port", 6000);
Attachment #629833 -
Flags: approval-mozilla-aurora?
Comment 9•12 years ago
|
||
Comment on attachment 629833 [details] [diff] [review]
Desktop patch
[Triage Comment]
Low risk pref change early in the cycle - approved for Aurora 15.
Attachment #629833 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 10•12 years ago
|
||
(In reply to Rob Campbell [:rc] (:robcee) from comment #7)
> do we need all three of these patches on aurora?
I'm not exactly sure what the releng process for fennec and b2g is, but not getting them all in could create logistical issues down the road for us.
Assignee | ||
Comment 11•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/6a51d098fc1f
https://hg.mozilla.org/releases/mozilla-aurora/rev/81ad66ec9297
https://hg.mozilla.org/releases/mozilla-aurora/rev/064efda12a0c
status-firefox15:
--- → fixed
Updated•12 years ago
|
tracking-firefox15:
? → ---
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•