Closed Bug 1511353 Opened 6 years ago Closed 5 years ago

Fix nsGlobalWindowOuter::SetOpenerWindow for closed opener windows

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: farre, Unassigned)

References

(Blocks 1 open bug)

Details

Calling SetOpenerWindow with a closed window caused Bug 1510928, which was fixed by allowing that to not assert. That on the other hand means that when we're setting the opener to a closed window we're clearing the browsing context, which is wrong.
Priority: -- → P3
Component: DOM → DOM: Core & HTML

This should also consider the case when nsGlobalWindowOuter::SetOpenerWindow gets called on closed windows, which can happen as seen in Bug 1539012.

Blocks: improve-bc
No longer blocks: browsingcontext

fixed by kmag

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.