Last Comment Bug 699810 - nsJSTimeoutHandler DEBUG_CC code should null-check result of calling JS_GetObjectFunction
: nsJSTimeoutHandler DEBUG_CC code should null-check result of calling JS_GetOb...
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla10
Assigned To: Peter Van der Beken [:peterv]
:
: Andrew Overholt [:overholt]
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-04 08:17 PDT by Peter Van der Beken [:peterv]
Modified: 2011-11-07 17:26 PST (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
v1 (1.07 KB, patch)
2011-11-04 08:17 PDT, Peter Van der Beken [:peterv]
jst: review+
Details | Diff | Splinter Review

Description Peter Van der Beken [:peterv] 2011-11-04 08:17:19 PDT
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.
Comment 1 Peter Van der Beken [:peterv] 2011-11-07 09:20:13 PST
https://hg.mozilla.org/integration/mozilla-inbound/rev/ac847cc35842
Comment 2 Ed Morley [:emorley] 2011-11-07 17:26:32 PST
https://hg.mozilla.org/mozilla-central/rev/ac847cc35842

Note You need to log in before you can comment on or make changes to this bug.