[Webkit-unassigned] [Bug 33668] WebCore::InsertListCommand::modifyRange infinite loop (100% CPU usage)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 21 15:55:03 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=33668


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rniwa at webkit.org,
                   |                            |tony at chromium.org




--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org>  2010-03-21 15:55:02 PST ---
This bug seems to be caused in the modifyRange when startOfCurrentParagraph
becomes null.  The bug reproduces when trying to InsertOrderedList on the
following HTML as well:

<ul><ul><li>hello</li></ul>world<ol><li>WebKit</li></ol></ul>

I could work-around the issue by adding a condition to while but I'm not sure
startOfCurrentParagraph should ever be null.  Because with that condition,
"WebKit" moves before "world", which is obviously wrong behavior.

We probably need to cleanup InsertListCommand first as we did in
IndentOutdentCommand (filed as bug 36430).

-- 
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