Closed Bug 1130842 Opened 9 years ago Closed 9 years ago

Add ipc error annotation when content processes abort in ProcessingError

Categories

(Core :: DOM: Content Processes, defect)

x86_64
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38
Tracking Status
firefox38 --- fixed

People

(Reporter: jimm, Assigned: jimm)

References

Details

Attachments

(1 file, 3 obsolete files)

http://hg.mozilla.org/mozilla-central/annotate/34a66aaaca81/dom/ipc/ContentChild.cpp#l1808

We did this for the parent, we should add this for the child too using the same meta id of 'ipc_channel_error'.
Attached patch wip (obsolete) — Splinter Review
Attached patch patch (obsolete) — Splinter Review
Assignee: nobody → jmathies
Attachment #8560995 - Attachment is obsolete: true
Attachment #8561000 - Flags: review?(wmccloskey)
Attached patch patch (obsolete) — Splinter Review
there was no need to change the protocol.
Attachment #8561000 - Attachment is obsolete: true
Attachment #8561000 - Flags: review?(wmccloskey)
Attachment #8561055 - Flags: review?(wmccloskey)
Attached patch patchSplinter Review
sorry for the bugspam, this time without the debug test code.
Attachment #8561055 - Attachment is obsolete: true
Attachment #8561055 - Flags: review?(wmccloskey)
Attachment #8561056 - Flags: review?(wmccloskey)
Comment on attachment 8561000 [details] [diff] [review]
patch

Review of attachment 8561000 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/ipc/PCrashReporter.ipdl
@@ +23,3 @@
>    manager PContent or PPluginModule or PGMP;
>  parent:
> +  sync AnnotateCrashReport(nsCString key, nsCString data);

I don't think it's a good idea to make this sync. We call this function pretty often. Every time we load a page, for example. I'd hate to introduce extra sync calls in all these places.

If the annotation isn't arriving in time, it's probably a bug in the IPC code. I'd rather address it there. Alternatively, we could send a sync message in ProcessingError, after AnnotateCrashReport, just to flush everything out.
Attachment #8561000 - Attachment is obsolete: false
Attachment #8561000 - Attachment is obsolete: true
Comment on attachment 8561056 [details] [diff] [review]
patch

Review of attachment 8561056 [details] [diff] [review]:
-----------------------------------------------------------------

You're too fast for me! :-)
Attachment #8561056 - Flags: review?(wmccloskey) → review+
https://hg.mozilla.org/mozilla-central/rev/603b98af7463
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: