mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
dbc3d6a9e9
fixed the webshell leak in <textarea> and <input type=text|password> the problem was the new nsWebShell::SetDocument() call was indirectly causing nsHTMLDocument to instantiate a parser and fire off a parse. bad circular references ensued. The fix is to use the "aCommand" param to pass a hint to the nsHTMLDocument, telling it there's no need to involve a parser. in the simple case, we no longer leak webshells. That is, if you open mozilla.exe, look at a page (whether it has a text control on it or not), and shut down the app, no webshell is leaked. If I browse around, sometimes we still leak a webshell somewhere. I haven't figured out exactly where that is yet. A guess is history, which is in the process of being reworked anyway. r=mscott a=chofmann |
||
---|---|---|
.. | ||
base | ||
events | ||
html | ||
shared | ||
xml | ||
xsl | ||
xslt/src | ||
xul |