Closed
Bug 898670
Opened 11 years ago
Closed 11 years ago
[binary data] Move StructType FieldList access into separate function.
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: nsm, Assigned: nsm)
References
Details
Attachments
(1 file)
5.94 KB,
patch
|
nmatsakis
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
trace() and free() receive a JSObject with no associated JSContext to convert easily to Rooted. Is it acceptable to assume that obj is of the right type in those calls?
Attachment #782271 -
Flags: review?(nmatsakis)
Updated•11 years ago
|
Attachment #782271 -
Flags: review?(nmatsakis) → review+
Comment 2•11 years ago
|
||
Nikhil, it is safe to assume in calls to trace/free that the object you receive is of the appropriate class, yes. Those are not script-accessible functions that can be misapplied to the wrong kind of object.
Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•