Closed
Bug 1363206
Opened 7 years ago
Closed 6 years ago
Add "realm" link to ObjectGroup
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1461938
People
(Reporter: jorendorff, Unassigned)
References
Details
(Keywords: triage-deferred)
With same-compartment realms, all non-ccw objects need a link to their
realm/global (for document.domain, but mainly for other reasons
unrelated to security, like when a random object is passed the
JS::AutoRealm constructor).
This is also necessary in order to keep JS_GetGlobalForObject() working
once there are multiple globals per compartment. (Currently it works
via obj->compartment()->global(), which will no longer exist.)
Comment 1•7 years ago
|
||
Just to make sure I understand correctly, this is just changing ObjectGroup::compartment_ to ObjectGroup::realm_ (and changing the type obviously), right?
Updated•7 years ago
|
Keywords: triage-deferred
Priority: -- → P3
Comment 2•6 years ago
|
||
Bug 1461938 did this.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•