Closed
Bug 1328693
Opened 9 years ago
Closed 8 years ago
Extract Debugger Default prefs
Categories
(DevTools :: Debugger, defect, P2)
DevTools
Debugger
Tracking
(firefox54 fixed)
RESOLVED
FIXED
Firefox 54
| Tracking | Status | |
|---|---|---|
| firefox54 | --- | fixed |
People
(Reporter: jlast, Assigned: jlast)
Details
Attachments
(1 file, 3 obsolete files)
|
7.31 KB,
patch
|
jryans
:
review+
|
Details | Diff | Splinter Review |
It would be nice if the debugger could manage its own prefs in github.com/devtools-html/debugger.html.
This patch separates out the debugger prefs so that file can be updated when the debugger publishes a new bundle.
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jlaster
| Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8823814 -
Flags: review?(ttromey)
| Assignee | ||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
Comment on attachment 8823814 [details] [diff] [review]
dbg-prefs.patch
Review of attachment 8823814 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for the patch. This looks good to me.
I think, however, that the Services shim will need an update to find the new file:
https://dxr.mozilla.org/mozilla-central/rev/57ac9f63fc6953f4efeb0cc84a60192d3721251f/devtools/client/shared/shim/Services.js#438
Also perhaps the inspector webpack config will need a change.
I'm going to clear the review on this basis.
Attachment #8823814 -
Flags: review?(ttromey)
| Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8823814 -
Attachment is obsolete: true
Attachment #8823829 -
Flags: review?(ttromey)
| Assignee | ||
Comment 5•9 years ago
|
||
Just updated the prefs pr so that Services loads the debugger prefs... but we should find a good way to test this. Perhaps Julian will know how to use the prefs-loader.
Flags: needinfo?(jdescottes)
Comment 6•9 years ago
|
||
Comment on attachment 8823829 [details] [diff] [review]
dbg-prefs2.patch
Review of attachment 8823829 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you, this looks great.
Attachment #8823829 -
Flags: review?(ttromey) → review+
Comment 7•9 years ago
|
||
(In reply to Jason Laster [:jlast] from comment #5)
> Just updated the prefs pr so that Services loads the debugger prefs... but
> we should find a good way to test this. Perhaps Julian will know how to use
> the prefs-loader.
At some point we'll have integration tests for the inspector bundle; without those
we can confidently assume that the de-chroming will regress. I think though that
we've agreed to defer this until we think everything is more ready.
Comment 8•9 years ago
|
||
I agree with Tom, this should be covered by integration tests and I can't see any easy way to test our Services shim against actual prefs.
I hope we can have integration tests for the inspector as soon as possible . The only thing that concerns me with this approach is that in this context the only prefs we would be testing would be inspector prefs.
Flags: needinfo?(jdescottes)
Updated•9 years ago
|
Priority: -- → P2
| Assignee | ||
Comment 9•8 years ago
|
||
Attachment #8823829 -
Attachment is obsolete: true
Attachment #8830090 -
Flags: review?(jryans)
| Assignee | ||
Comment 10•8 years ago
|
||
| Assignee | ||
Comment 11•8 years ago
|
||
Attachment #8830090 -
Attachment is obsolete: true
Attachment #8830090 -
Flags: review?(jryans)
Attachment #8830300 -
Flags: review?(jryans)
| Assignee | ||
Comment 12•8 years ago
|
||
Comment on attachment 8830300 [details] [diff] [review]
prefs5.patch
Review of attachment 8830300 [details] [diff] [review]:
-----------------------------------------------------------------
Looks logical to me, thanks!
Attachment #8830300 -
Flags: review?(jryans) → review+
| Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Comment 14•8 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a50557f92553
Extract debugger preferences. r=jryans
Keywords: checkin-needed
Comment 15•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 54
Comment 16•8 years ago
|
||
Ported to TB/IB/SM:
https://hg.mozilla.org/comm-central/rev/1994d82f97322ab5fc42601ad49a859a6844e96b
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•