Shared components used by Firefox and other Mozilla software, including handling of Web content; Gecko, HTML, CSS, layout, DOM, scripts, images, networking, etc. Issues with web page layout probably go here, while Firefox user interface issues belong in the Firefox product. (More info)
Created attachment 571982[details][diff][review]
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.