Closed Bug 909819 Opened 11 years ago Closed 4 years ago

Fix assertions in 509719-2 crashtests caused by repeated/recursive loadOverlay calls

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Gijs, Unassigned)

References

Details

(Keywords: assertion)

(In reply to Neil Deakin from bug 509719 comment 16)
> What's happening here is that:
> 
> - The main document loads and calls loadOverlay, starting an overlay load
> - The main document finishes loading and calls ResolveForwardReferences
> which sets mResolutionPhase to 'done'
> - The overlay loads, calls LoadOverlay again and tries to add it but fails
> because mResolutionPhase is set to 'done'
> 
> I don't know what this code should be doing though. It seems however that
> resolving references shouldn't be done until, or should be done again when
> the overlays have loaded.

So, this. But also, see bug 330458. In fact, I'm fairly sure fixing that issue would fix this issue. Judging by bug 330458 comment 49, this isn't trivial.

XUL overlays were removed in bug 1426763.

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