Files
Mozilla/mozilla/extensions/xmlterm/doc/SlowDOMBug
(no author) d368a405db This commit was manufactured by cvs2svn to create branch
'MOZILLA_1_8_0_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@185757 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-07 05:54:01 +00:00

23 lines
743 B
Plaintext

12 Sep 1999
Appending each output line separately, separated by <BR> elements, to a
displayed HTML document seems to be rather slow. See the file
base/mozXMLTermSession.cpp
As a workaround, multiple output lines are batched into a single <PRE>
element. This will basically only work for plain text output, without markup.
To disable this workaround and expose the "bug", create the XMLterm libraries
as described in the INSTALL file. Then execute the following to make the
"buggy" libraries:
cd base
rm mozXMLTermSession.o
make NO_WORKAROUND=1 mozXMLTermSession.o
make libs
(If you are using the "gterm" executable, you will need to re-make it as
well)
Now execute any command which produces several lines of output in an
XMLterm window.