[Webkit-unassigned] [Bug 19221] ASSERT during Range creation (due to editing commands)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 19 12:53:11 PST 2009


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


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |justin.garcia at apple.com




------- Comment #2 from eric at webkit.org  2009-02-19 12:53 PDT -------
The ASSERT is tripping because we're getting back an INDEX_SIZE_ERR because the
"end" is being set to (img, 1).

Tree for the end node:
BODY    0x1bf90d60
*       IMG     0x1bffa830
        SCRIPT  0x1a40b440
                #text   0x1bf91420
"\ndocument.execCommand("selectall")\ndocument.designMode =
"on"\ndocument.execCommand("insertimage", false,
"red")\ndocument.execCommand("createLink", false,
true)\ndocument.execCommand("removeformat")\n"

I expect this is just an "internal" range being passed off to a DOM Range
object.  I'm sure we have some functions for converting these.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list