Closed Bug 1635228 Opened 2 years ago Closed 2 years ago

Guard against null mWindowGlobal when initializing WindowGlobalChild

Categories

(Core :: DOM: Navigation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: smacleod, Assigned: smacleod)

References

Details

Attachments

(1 file)

From Bug 1599617 Comment 8

There are only two callsites for WindowGlobalChild::Init which could possibly have a null WindowGlobal, so perhaps write the ScopeExits at those call-sites.

Pushed by smacleod@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a6b9bf94dfe1
guard against null mWindowGlobal when initializing WindowGlobalChild. r=nika
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.