[Webkit-unassigned] [Bug 28245] findNextLineBreak crashes when inserting a blank span in front of a long line

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 23 04:51:45 PST 2009


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


Mike Moretti <webkit9 at mordent.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45431|                            |review?
               Flag|                            |




--- Comment #5 from Mike Moretti <webkit9 at mordent.com>  2009-12-23 04:51:44 PST ---
Created an attachment (id=45431)
 --> (https://bugs.webkit.org/attachment.cgi?id=45431)
Bug fix patch - Removed tabs

Sorry about the tabs.  I removed them now.

As for the indexing, I didn't want to use indexing because "characters"
actually returns null, not a valid string (I don't know what "text()" does yet
without looking further).

I also wasn't sure if textLength() would ever return a -1; I am still not as up
to speed on the webkit code as I would like yet.

I looked at 3 or 4 test cases to find one to use as an example but wasn't sure
which was best, so I randomly picked one and it had alerts in it.  If you can
point me to a better example that would be great!  I would rather write a
proper test case next time.

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