Closed
Bug 1151154
Opened 9 years ago
Closed 9 years ago
Stop faking resumption packets on tabNavigation events
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(firefox40 fixed)
RESOLVED
FIXED
Firefox 40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: shu, Assigned: shu)
References
Details
Attachments
(1 file)
4.30 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
So we do this terrible thing in the debugger frontend that fakes resumption packets on tab navigation events, both at the start *and* at the end of navigation. The end event, as handled by _navigate in the webbrowser actor, can generate a fake resumption packet that races with the paused event from a breakpoint hit on page reload. STR for this is kind of complicated and came up while debugging Shumway. Nick help me come up with the fix since I don't know the promise machinery.
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8588255 -
Flags: review?(past)
Assignee | ||
Comment 2•9 years ago
|
||
Filed bug 1151156 for the backout of the fake resumption packet when Gecko 40 hits b2g stable.
Comment 3•9 years ago
|
||
Comment on attachment 8588255 [details] [diff] [review] Don't fake resumption packets on tab navigation events in the frontend debugger. Review of attachment 8588255 [details] [diff] [review]: ----------------------------------------------------------------- This makes me happy! ::: toolkit/devtools/client/dbg-client.jsm @@ +987,5 @@ > typeof this._clients.get(aPacket.from)._onThreadState == "function") { > this._clients.get(aPacket.from)._onThreadState(aPacket); > } > + > + // TODO: Remove once Gecko 40 is on b2g-stable. Nit: add a mention of bug 1151156 in the comment.
Attachment #8588255 -
Flags: review?(past) → review+
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4bc1143f4486
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Updated•9 years ago
|
Assignee: nobody → shu
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•