[Webkit-unassigned] [Bug 71600] --webkit-visual-word crash when create legacy position for shadowRoot
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 10 10:45:25 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=71600
Ryosuke Niwa <rniwa at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #113740|review? |review+
Flag| |
--- Comment #2 from Ryosuke Niwa <rniwa at webkit.org> 2011-11-10 10:45:25 PST ---
(From update of attachment 113740)
View in context: https://bugs.webkit.org/attachment.cgi?id=113740&action=review
> LayoutTests/editing/selection/move-by-word-visually-crash-test-textarea.html:4
> + try {
Why do we need try?
> LayoutTests/editing/selection/move-by-word-visually-crash-test-textarea.html:16
> + sel = window.getSelection();
> + sel.modify("move", "left", "-webkit-visual-word");
> + sel.modify("move", "left", "-webkit-visual-word");
This can be written as:
getSelection().modify("move", "left", "-webkit-visual-word");
getSelection().modify("move", "left", "-webkit-visual-word");
--
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