gecko-dev/docshell
buster%netscape.com 0edefdc22a bug 21187
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
1999-12-09 07:21:34 +00:00
..
base bug 21187 1999-12-09 07:21:34 +00:00
build Adding local .cvsignore file; r=none 1999-11-30 23:22:27 +00:00
macbuild added files: mozilla/docshell/base/nsIDocShellTreeItem.idl, mozilla/docshell/base/nsIDocShellTreeNode.idl 1999-12-03 10:04:09 +00:00
.cvsignore Adding local .cvsignore file; r=none 1999-11-30 23:22:27 +00:00
Makefile.in Updated the UNIX makefiles to be in sync with the Windows ones. (Not Part of the build). 1999-11-29 18:42:33 +00:00
makefile.win Now that we have decided that there is only one docshell for all content types, we needed to get rid of the base class/ content type implementation. This checkin takes and moves the nsDocShellBase to be nsDocShell. It now holds the nsIHTMLDocShell stuff. This will be going away. nsCDocShell was created to replace the previous nsCHTMLDocShell. 1999-11-12 07:28:25 +00:00