Closed Bug 1112112 Opened 10 years ago Closed 10 years ago

Add logging for e10s parent-child channels

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla37
Tracking Status
e10s + ---

People

(Reporter: dragana, Assigned: dragana)

Details

Attachments

(1 file, 3 obsolete files)

Additional logging for e10s channels
Assignee: nobody → dd.mozilla
Attached patch added logging v1 (obsolete) (deleted) — Splinter Review
Attachment #8537955 - Flags: review?(jduell.mcbugs)
Attached patch add logging v1 (obsolete) (deleted) — Splinter Review
Attachment #8537955 - Attachment is obsolete: true
Attachment #8537955 - Flags: review?(jduell.mcbugs)
Attachment #8537960 - Flags: review?(jduell.mcbugs)
Status: NEW → ASSIGNED
Comment on attachment 8537960 [details] [diff] [review] add logging v1 Review of attachment 8537960 [details] [diff] [review]: ----------------------------------------------------------------- ::: netwerk/protocol/http/HttpChannelChild.cpp @@ +216,5 @@ > {} > > void Run() > { > + LOG(("StartRequestEvent [this=%x]\n", mChild)); mChild is a pointer, so we need %x (IIRC %x is only 32 bits on some platforms that have 64 bit pointers: I'm pretty sure we had a bug where we converted %x -> %p everywhere for that reason). @@ +643,5 @@ > void > HttpChannelChild::DoPreOnStopRequest(nsresult aStatus) > { > + LOG(("HttpChannelChild::DoPreOnStopRequest [this=%p status=%d]\n", > + this, aStatus)); nsresults are uint32_t. This patch has a mix of %x, %u, and %d for them. %d would appear incorrect (though I don't know if it matters, ie if we have values that would be converted to negative ints). Might as well switch to whichever of %x/%u is more predominant in the code.
Attachment #8537960 - Flags: review?(jduell.mcbugs) → review+
Attached patch add logging v2 (obsolete) (deleted) — Splinter Review
Attachment #8537960 - Attachment is obsolete: true
Attachment #8545816 - Flags: review+
Keywords: checkin-needed
Needs rebasing.
Keywords: checkin-needed
Attached patch add logging v2 (deleted) — Splinter Review
rebased
Attachment #8545816 - Attachment is obsolete: true
Attachment #8545924 - Flags: review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Depends on: 1120166
No longer depends on: 1120166
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: