Open
Bug 1466126
Opened 6 years ago
Updated 2 years ago
Consider using the object's realm instead of compartment in CycleCollectedJSRuntime::DescribeGCThing
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: jandem, Unassigned)
References
Details
Looks like there's a logging mechanism that currently logs the object's compartment.
That will continue to work, but we should probably change it to use the object's realm for more precise data once a compartment can contain multiple globals.
The only issue is that wrappers don't have a realm, but maybe we could fall back to GetObjectCompartment if GetObjectRealmOrNull returns nullptr. Or something.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•