Closed
Bug 711859
Opened 14 years ago
Closed 14 years ago
Add a IsObjectInContextCompartment API
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: Ms2ger, Assigned: Ms2ger)
Details
Attachments
(1 file)
|
9.03 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
This is a pretty common thing to do in XPConnect, and currently requires getting cx->compartment directly.
Attachment #582693 -
Flags: review?(jwalden+bmo)
Updated•14 years ago
|
Attachment #582693 -
Attachment is patch: true
Comment 1•14 years ago
|
||
Comment on attachment 582693 [details] [diff] [review]
Patch v1
Review of attachment 582693 [details] [diff] [review]:
-----------------------------------------------------------------
Seems better than the alternative, all things considered.
Attachment #582693 -
Flags: review?(jwalden+bmo) → review+
| Assignee | ||
Comment 2•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in
before you can comment on or make changes to this bug.
Description
•