RESOLVED FIXED 63853
[GTK] editing/selection/directionality-after-undo-replace.html is failing
https://bugs.webkit.org/show_bug.cgi?id=63853
Summary [GTK] editing/selection/directionality-after-undo-replace.html is failing
Ryosuke Niwa
Reported 2011-07-01 16:11:02 PDT
editing/selection/directionality-after-undo-replace.html has been failing since it was checked.
Attachments
Patch (1.51 KB, patch)
2011-07-01 18:10 PDT, Ryosuke Niwa
no flags
Martin Robinson
Comment 1 2011-07-01 16:28:52 PDT
Thanks for filling this bug. The issue here seems to be that there are so many leapForwards that the test is exceeding the double-click timeout on GTK+. This change causes the test to start passing: --- a/LayoutTests/editing/selection/directionality-after-undo-replace.html +++ b/LayoutTests/editing/selection/directionality-after-undo-replace.html @@ -23,12 +23,11 @@ if (window.layoutTestController) { var test = document.getElementById('target'); eventSender.mouseMoveTo(target.offsetLeft + target.offsetWidth / 2, target.offsetTop + target.offsetHeight / 2); eventSender.mouseDown(); - eventSender.leapForward(200); eventSender.mouseUp(); eventSender.leapForward(200); + eventSender.mouseDown(); - eventSender.leapForward(200); eventSender.mouseUp(); document.execCommand('InsertText', false, 'a');
Ryosuke Niwa
Comment 2 2011-07-01 18:10:31 PDT
WebKit Review Bot
Comment 3 2011-07-01 19:35:05 PDT
Comment on attachment 99543 [details] Patch Clearing flags on attachment: 99543 Committed r90309: <http://trac.webkit.org/changeset/90309>
WebKit Review Bot
Comment 4 2011-07-01 19:35:09 PDT
All reviewed patches have been landed. Closing bug.
Ryosuke Niwa
Comment 6 2011-07-01 22:02:12 PDT
Ryosuke Niwa
Comment 7 2011-07-01 22:02:48 PDT
Abhishek Arya
Comment 8 2011-07-01 22:05:38 PDT
That is awesome!!, We can get to the root cause and have more inspiration to fix this. Fixing this might fix many textiterator read crashes.
Martin Robinson
Comment 9 2015-05-07 17:48:48 PDT
This seems okay now on GTK+.
Note You need to log in before you can comment on or make changes to this bug.