Closed Bug 711859 Opened 14 years ago Closed 14 years ago

Add a IsObjectInContextCompartment API

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: Ms2ger, Assigned: Ms2ger)

Details

Attachments

(1 file)

Attached patch Patch v1Splinter Review
This is a pretty common thing to do in XPConnect, and currently requires getting cx->compartment directly.
Attachment #582693 - Flags: review?(jwalden+bmo)
Attachment #582693 - Attachment is patch: true
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+
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.

Attachment

General

Created:
Updated:
Size: