<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>63853</bug_id>
          
          <creation_ts>2011-07-01 16:11:02 -0700</creation_ts>
          <short_desc>[GTK] editing/selection/directionality-after-undo-replace.html is failing</short_desc>
          <delta_ts>2015-05-07 17:48:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>inferno</cc>
    
    <cc>mrobinson</cc>
    
    <cc>ojan</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>431507</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-07-01 16:11:02 -0700</bug_when>
    <thetext>editing/selection/directionality-after-undo-replace.html	 has been failing since it was checked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>431521</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2011-07-01 16:28:52 -0700</bug_when>
    <thetext>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(&apos;target&apos;);
         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(&apos;InsertText&apos;, false, &apos;a&apos;);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>431562</commentid>
    <comment_count>2</comment_count>
      <attachid>99543</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-07-01 18:10:31 -0700</bug_when>
    <thetext>Created attachment 99543
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>431572</commentid>
    <comment_count>3</comment_count>
      <attachid>99543</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-07-01 19:35:05 -0700</bug_when>
    <thetext>Comment on attachment 99543
Patch

Clearing flags on attachment: 99543

Committed r90309: &lt;http://trac.webkit.org/changeset/90309&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>431573</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-07-01 19:35:09 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>431576</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-07-01 22:00:31 -0700</bug_when>
    <thetext>Now the test is hitting an assertion :(

http://build.webkit.org/results/GTK%20Linux%2064-bit%20Debug/r90310%20(23936)/editing/selection/directionality-after-undo-replace-stderr.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>431577</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-07-01 22:02:12 -0700</bug_when>
    <thetext>This might be related to https://bugs.webkit.org/show_bug.cgi?id=63440.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>431578</commentid>
    <comment_count>7</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-07-01 22:02:48 -0700</bug_when>
    <thetext>It&apos;s certainly related to https://bugs.webkit.org/show_bug.cgi?id=63611.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>431579</commentid>
    <comment_count>8</comment_count>
    <who name="Abhishek Arya">inferno</who>
    <bug_when>2011-07-01 22:05:38 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1092910</commentid>
    <comment_count>9</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2015-05-07 17:48:48 -0700</bug_when>
    <thetext>This seems okay now on GTK+.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>99543</attachid>
            <date>2011-07-01 18:10:31 -0700</date>
            <delta_ts>2011-07-01 19:35:05 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-63853-20110701181029.patch</filename>
            <type>text/plain</type>
            <size>1547</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDkwMzA3KQorKysgTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTQg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ywxMiArMjMsMTEgQEAgaWYg
KHdpbmRvdy5sYXlvdXRUZXN0Q29udHJvbGxlcikgewogICAgICAgICB2YXIgdGVzdCA9IGRvY3Vt
ZW50LmdldEVsZW1lbnRCeUlkKCd0YXJnZXQnKTsKICAgICAgICAgZXZlbnRTZW5kZXIubW91c2VN
b3ZlVG8odGFyZ2V0Lm9mZnNldExlZnQgKyB0YXJnZXQub2Zmc2V0V2lkdGggLyAyLCB0YXJnZXQu
b2Zmc2V0VG9wICsgdGFyZ2V0Lm9mZnNldEhlaWdodCAvIDIpOwogICAgICAgICBldmVudFNlbmRl
ci5tb3VzZURvd24oKTsKLSAgICAgICAgZXZlbnRTZW5kZXIubGVhcEZvcndhcmQoMjAwKTsKICAg
ICAgICAgZXZlbnRTZW5kZXIubW91c2VVcCgpOwogCiAgICAgICAgIGV2ZW50U2VuZGVyLmxlYXBG
b3J3YXJkKDIwMCk7CisKICAgICAgICAgZXZlbnRTZW5kZXIubW91c2VEb3duKCk7Ci0gICAgICAg
IGV2ZW50U2VuZGVyLmxlYXBGb3J3YXJkKDIwMCk7CiAgICAgICAgIGV2ZW50U2VuZGVyLm1vdXNl
VXAoKTsKIAogICAgICAgICBkb2N1bWVudC5leGVjQ29tbWFuZCgnSW5zZXJ0VGV4dCcsIGZhbHNl
LCAnYScpOwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>