Closed Bug 620206 Opened 14 years ago Closed 13 years ago

nsFrameMessageManager::ReceiveMessage returns non-nsresult values

Categories

(Core :: IPC, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b12

People

(Reporter: jdm, Unassigned)

Details

Attachments

(1 file)

>nsresult
>nsFrameMessageManager::ReceiveMessage(nsISupports* aTarget, 
...
>  if (!aObjectsArray) {
>    return false;
>  }
...
>  if (!ac.enter(ctx, object))
>    return PR_FALSE;
Attachment #510775 - Flags: review?(Olli.Pettay) → review+
Comment on attachment 510775 [details] [diff] [review]
Make nsFrameMessageManager::ReceiveMessage return consistent error values.

The current code is wrong.  This is both safe and correct.
Attachment #510775 - Flags: approval2.0?
Attachment #510775 - Flags: approval2.0? → approval2.0+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/8be99120130a
Status: NEW → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b12
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: