Closed Bug 1127379 Opened 11 years ago Closed 11 years ago

Make TabParent::GetWidgetNativeData less failure prone

Categories

(Core Graveyard :: Plug-ins, defect)

x86_64
All
defect
Not set
normal

Tracking

(e10sm5+)

RESOLVED FIXED
mozilla38
Tracking Status
e10s m5+ ---

People

(Reporter: jimm, Assigned: jimm)

References

Details

Attachments

(1 file, 1 obsolete file)

#3 top KillHard cause (see parent bug) mozilla::dom::PBrowserChild::SendGetWidgetNativeData(unsigned int *) http://mxr.mozilla.org/mozilla-central/source/dom/ipc/TabParent.cpp#2118
Attached patch patch (obsolete) — Splinter Review
I see no reason why a failure in GetNativeData should abort the content process. The code on the receiving end of theses calls should deal with unexpected failures here gracefully. If not, that's a new bug. http://mxr.mozilla.org/mozilla-central/ident?i=GetNativeData
Assignee: nobody → jmathies
Attachment #8556742 - Flags: review?(roc)
Attached patch patchSplinter Review
RecvGetWidgetNativeData should init aValue too.
Attachment #8556742 - Attachment is obsolete: true
Attachment #8556742 - Flags: review?(roc)
Attachment #8556756 - Flags: review?(roc)
Comment on attachment 8556756 [details] [diff] [review] patch Review of attachment 8556756 [details] [diff] [review]: ----------------------------------------------------------------- Have you checked the callsites to see if they can really handle this? What causes us to fail to return native data anyway?
Attachment #8556756 - Flags: review?(roc) → review+
> Have you checked the callsites to see if they can really handle this? We make two calls, both for window handles - http://mxr.mozilla.org/mozilla-central/ident?i=SendGetWidgetNativeData > What causes us to fail to return native data anyway? Good question, we don't know yet. This bug is part of that investigation. Note we're also looking at improving KillHard feedback in bug 1124933.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: