The JSWatchPointHandler typedef, used by JS_SetWatchPoint and related functions, is a pointer to a function whose last argument, 'closure', is a 'void *'. However, the actual closure passed to JS_SetWatchPoint is a JSObject *, and the garbage collector treats it as such when it traces a watchpoint list. The JSWatchPointHander's last argument should be changed to a 'JSObject *', to match its actual usage.
watch() was removed in bug 638054.
Status: NEW → RESOLVED
Last Resolved: 11 months ago
Resolution: --- → DUPLICATE
Duplicate of bug: 638054
You need to log in before you can comment on or make changes to this bug.