[Webkit-unassigned] [Bug 57755] REGRESSION(r81328): Null pointer crash in canAppendNewLineFeed when selection isn't inside an editable element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 5 23:33:25 PDT 2011


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





--- Comment #7 from Naoki Takano <takano.naoki at gmail.com>  2011-04-05 23:33:25 PST ---
Thank you for your review.

(In reply to comment #6)
> > LayoutTests/editing/execCommand/insert-line-break-onload.html:2
> > +Test InsertLineBreak is called correctly without any exception.
> 
> Mn... I'd expect that adding this line would stop reproducing the crash.  Did you make sure this test case cause a crash?
Yes, it crashes.

> > LayoutTests/editing/execCommand/insert-line-break-onload.html:15
> > +    } else
> > +        alert(result);
> 
> Why do you need an alert here?  I'd expect for document.write to work here as well.
Because I referred to insert-line-break-no-scroll.html
Anyway I'll change it to use document.write().

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