Closed
Bug 611538
Opened 14 years ago
Closed 14 years ago
Switch to lazy creation of WYCIWYG channels
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: jduell.mcbugs, Unassigned)
References
Details
So I see that nsHTMLDocument::OpenCommon always creates a WYCIWYG channel. But these never get used unless Document.Write() is called, i.e. the vast majority of the time. Is there any reason we can't just create them lazily in WriteCommon(), if we actually need one? (We add the WYCIWYG channel to the loadgroup when we create it--but we could do that during lazy creation too, right? I don't see any other complications)
Note that under e10s simply creating a WYCIWYG channel also creates an IPDL channel, which then creates another WYCIWYG channel in chrome. And then we have to destroy it and the IPDL channel later on. Lots of effort for nothing.
Reporter | ||
Comment 1•14 years ago
|
||
Never mind--I misunderstood when OpenCommon gets called. D'oh!
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•