Closed Bug 1104422 Opened 10 years ago Closed 10 years ago

Should use PBrowserOrId in WyciwygChannelChild::AsyncOpen

Categories

(Core :: DOM: Content Processes, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38

People

(Reporter: kershaw, Assigned: JamesCheng)

References

Details

Attachments

(1 file, 3 obsolete files)

In WyciwygChannelChild::AsyncOpen[1], we should use PBrowserOrId to replace tabChild in SendAsyncOpen, otherwise it would not work in nested oop case. [1] http://dxr.mozilla.org/mozilla-central/source/netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp#663
Blocks: nested-oop
Assignee: nobody → jacheng
Hi Kershaw, please kindly help to check this patch. Thanks.
Attachment #8542036 - Flags: feedback?(kechang)
Comment on attachment 8542036 [details] [diff] [review] Use PBrowserOrId to replace tabChild in SendAsyncOpen Review of attachment 8542036 [details] [diff] [review]: ----------------------------------------------------------------- Overall it looks good. ::: netwerk/protocol/wyciwyg/WyciwygChannelChild.cpp @@ +661,5 @@ > return NS_ERROR_ILLEGAL_VALUE; > } > > + PBrowserOrId browser = static_cast<ContentChild*>(Manager()->Manager()) > + ->GetBrowserOrId(tabChild); nit: additional spaces @@ +662,5 @@ > } > > + PBrowserOrId browser = static_cast<ContentChild*>(Manager()->Manager()) > + ->GetBrowserOrId(tabChild); > + nit: trailing spaces
Attachment #8542036 - Flags: feedback?(kechang) → feedback+
Attachment #8542036 - Attachment is obsolete: true
Hi Kershaw, Thanks for the feedback and I've modified and upload the new patch as attachment. Please confirm it. Thanks.
Attachment #8542369 - Flags: feedback?(kechang)
Attachment #8542369 - Flags: feedback?(kechang) → feedback+
Attachment #8542369 - Flags: review?(honzab.moz)
I think we can start the review process now. Hi Honza, Could you help to look at this patch? Thanks.
Hi Honza, The try server test result are as follows, https://treeherder.mozilla.org/#/jobs?repo=try&revision=74554e1a91c7 Thanks.
Attachment #8542369 - Flags: review?(honzab.moz) → review+
Update reviewer name on patch
Update patch message and delete redundant patches.
Attachment #8542369 - Attachment is obsolete: true
Attachment #8547269 - Attachment is obsolete: true
Attachment #8547273 - Flags: review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 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: