Closed
Bug 667129
Opened 13 years ago
Closed 7 years ago
JSWatchPointHandler claims to take a void *, but actually takes a JSObject *
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 638054
People
(Reporter: jimb, Unassigned)
Details
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.
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Comment 1•7 years ago
|
||
watch() was removed in bug 638054.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•