Closed Bug 667129 Opened 10 years ago Closed 3 years ago
Point Handler claims to take a void *, but actually takes a JSObject *
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
Closed: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 638054
You need to log in before you can comment on or make changes to this bug.