Closed
Bug 1302862
Opened 8 years ago
Closed 8 years ago
Open the panel when the sources have loaded
Categories
(DevTools :: Debugger, defect, P2)
DevTools
Debugger
Tracking
(firefox52 fixed)
RESOLVED
FIXED
Firefox 52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: jlast, Assigned: jlong)
References
Details
Attachments
(1 file, 1 obsolete file)
1.62 KB,
patch
|
bgrins
:
review+
jlast
:
feedback+
|
Details | Diff | Splinter Review |
We currently "open" the panel immediately. This means that outside tools like the console, don't know when the sources have loaded. We should instead wait on the sources loading before declaring the panel opened.
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → jlaster
Priority: -- → P2
Reporter | ||
Comment 1•8 years ago
|
||
Attachment #8791387 -
Flags: review?(jlong)
Assignee | ||
Comment 2•8 years ago
|
||
Comment on attachment 8791387 [details] [diff] [review] init-page.patch Review of attachment 8791387 [details] [diff] [review]: ----------------------------------------------------------------- This looks good. Need to actually make sure this is going to behave how we're thinking, and I'll comment more in the github issue about it. We'll need to land another bundle update first before pushing this, as this will break the current debugger. ::: devtools/client/debugger/new/panel.js @@ +22,4 @@ > threadClient: this.toolbox.threadClient, > tabTarget: this.toolbox.target > + }).then(() => { > + return this; We convert this to use Task, but I don't care either way.
Attachment #8791387 -
Flags: review?(jlong) → review+
Assignee | ||
Updated•8 years ago
|
Summary: Open the panel when the sources ave loaded → Open the panel when the sources have loaded
Assignee | ||
Comment 3•8 years ago
|
||
Taking this as I'm going to land all this work and I cleaned it up with `Task`.
Assignee: jlaster → jlong
Assignee | ||
Comment 4•8 years ago
|
||
This most likely won't land until tomorrow because I'll need to do another try run after we land a bundle update, as this needs the tweak to `bootstrap` to return a promise.
Attachment #8791387 -
Attachment is obsolete: true
Attachment #8792661 -
Flags: review?(bgrinstead)
Attachment #8792661 -
Flags: feedback?(jlaster)
Comment 5•8 years ago
|
||
Comment on attachment 8792661 [details] [diff] [review] 1302862.patch Review of attachment 8792661 [details] [diff] [review]: ----------------------------------------------------------------- It's ok from a DAMP end since this isn't regressing user-perceivable startup time
Attachment #8792661 -
Flags: review?(bgrinstead) → review+
Comment 6•8 years ago
|
||
Joel, just a heads up that this bug will likely regress the 'debugger open' time in damp but it's shifting when the open event fires to make a couple things easier - it doesn't actually change user-perceived startup time
Flags: needinfo?(jmaher)
Assignee | ||
Comment 8•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=005ce7743792
Pushed by jlong@mozilla.com: https://hg.mozilla.org/integration/fx-team/rev/c2b240d60d5b Initialize the debugger after the sources have loaded r=bgrins,jlast
Comment 10•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c2b240d60d5b
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Reporter | ||
Updated•8 years ago
|
Attachment #8792661 -
Flags: feedback?(jlaster) → feedback+
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•