Closed
Bug 907289
Opened 11 years ago
Closed 11 years ago
Trace client should always emit "enteredFrame" and "exitedFrame" events in sequence order
Categories
(DevTools :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 26
People
(Reporter: rjacob, Assigned: rjacob)
References
Details
Attachments
(1 file, 2 obsolete files)
7.79 KB,
patch
|
fitzgen
:
review+
|
Details | Diff | Splinter Review |
enteredFrame and exitedFrame packets contain a sequence number, since building up a call tree depends on the ordering of these packets, and we don't want to rely on the fact that packets are currently always received from the server in the order they were sent.
Currently, enteredFrame and exitedFrame events are emitted by the trace client whenever a packet is received. If we can't rely on receiving the packets in order, the client should queue unexpected packets and wait for the next in the sequence.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #793142 -
Flags: review?(nfitzgerald)
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Just missed a function rename and forgot to do a qrefresh before uploading the patch. The try push is using this version of the patch.
Attachment #793142 -
Attachment is obsolete: true
Attachment #793142 -
Flags: review?(nfitzgerald)
Attachment #793147 -
Flags: review?(nfitzgerald)
Assignee | ||
Comment 4•11 years ago
|
||
I ran some tests and it turns out shift is a lot slower than I thought it was (thought there was some behind-the-scenes index math making it comparable to pop, but there isn't). This patch uses a Map instead.
Try push: https://tbpl.mozilla.org/?tree=Try&rev=fb1ddc18e523
Attachment #793147 -
Attachment is obsolete: true
Attachment #793147 -
Flags: review?(nfitzgerald)
Attachment #793172 -
Flags: review?(nfitzgerald)
Updated•11 years ago
|
Attachment #793172 -
Flags: review?(nfitzgerald) → review+
Updated•11 years ago
|
Whiteboard: [land-in-fx-team]
Comment 5•11 years ago
|
||
Whiteboard: [land-in-fx-team]
Comment 6•11 years ago
|
||
Assignee: nobody → rbailey
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•