Closed Bug 699230 Opened 13 years ago Closed 10 years ago

Expose GetObjectCompartment in JSAPI

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Ms2ger, Assigned: Ms2ger)

Details

Attachments

(1 file)

Attached patch Patch v1Splinter Review
Seemed like an easy start for bug 692267. Not sure if this should be a public or friend API.
Attachment #571458 - Flags: review?(jwalden+bmo)
Comment on attachment 571458 [details] [diff] [review]
Patch v1

Review of attachment 571458 [details] [diff] [review]:
-----------------------------------------------------------------

I don't think we understand yet what the APIs should look like for working with compartments.  We have the enter/leave-compartment APIs, but even various Gecko hackers find them confusing and don't understand when and how they should be used.  I know Luke has plans to make various changes to them, which might alleviate the need for these APIs, or at the very least change the way they look.  I think this should continue to be a friend API for now, because we don't know what we're doing well enough to expose it publicly.
Attachment #571458 - Flags: review?(jwalden+bmo) → review-
Additionally, we don't know how important it is for this to be inlined. I tried to compare Talos results, but somehow the builds failed and I never got back to it.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: