Closed Bug 1344025 Opened 7 years ago Closed 4 years ago

Remove null checks for XPCMaps from XPCJSContext::newXPCJSContext()

Categories

(Core :: XPConnect, enhancement, P3)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1343396

People

(Reporter: mccr8, Unassigned)

Details

XPCJSContext::newXPCJSContext() has a bunch of null checks for XPCMaps, like GetWrappedJSClassMap(), but the newMap methods are infallible now, so we don't have to check that any more.
Priority: -- → P3
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---

It looks like these checks were removed in bug 1343396.

Status: REOPENED → RESOLVED
Closed: 6 years ago4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.