[Webkit-unassigned] [Bug 18282] WebKit crashes with deeply nested divs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 24 13:17:23 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=18282
Keith Kyzivat <kkyzivat at ovi.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #43803| |review?
Flag| |
--- Comment #13 from Keith Kyzivat <kkyzivat at ovi.com> 2009-11-24 13:17:22 PST ---
Created an attachment (id=43803)
--> (https://bugs.webkit.org/attachment.cgi?id=43803)
Patch providing an optional maximum depth cap to the DOM tree, enabled using
--enable-domtree-maxdepth
Attached is the patch I have created to cap the DOM tree when a node is added
(from HTML parse), or appended to (Javascript).
This functionality does not add any memory overhead, however it does add
performance overhead.
Because of this, I have made this an optional feature that must be turned on
using --enable-domtree-maxdepth.
To configure the maximum depth, one changes the MAX_DOM_TREE_DEPTH define in
WebCore/config.h
To more quickly test this on desktop browsers, one should spawn a subshell, and
run ulimit -s 256 (under Linux, under Mac it may be different) before testing
one of the above HTML attachments that reproduce the bug.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list