nsJSTimeoutHandler DEBUG_CC code should null-check result of calling JS_GetObjectFunction

RESOLVED FIXED in mozilla10

Status

()

Core
DOM
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: peterv, Assigned: peterv)

Tracking

Trunk
mozilla10
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Created attachment 571982 [details] [diff] [review]
v1

We sometimes have a function object and sometimes a non-function object. JS_GetObjectFunction can deal with that, but we need to null-check its result.
Attachment #571982 - Flags: review?(jst)

Updated

6 years ago
Attachment #571982 - Flags: review?(jst) → review+
(Assignee)

Comment 1

6 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/ac847cc35842
Target Milestone: --- → mozilla10
https://hg.mozilla.org/mozilla-central/rev/ac847cc35842
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.