Closed Bug 941767 Opened 7 years ago Closed 7 years ago
Fix rooting hazard in Get
Native For Global()
GetNativeForGlobal() calls EnsureCompartmentPrivate() just to check if the compartment private has a scope. This can GC if it needs to create the compartment private. Instead, we can just call MaybeGetObjectScope() which won't attempt to create the compartment private if it's not already present.
Attachment #8336216 - Flags: review?(bobbyholley+bmo)
Attachment #8336216 - Flags: review?(bobbyholley+bmo) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
You need to log in before you can comment on or make changes to this bug.