<?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>133803</bug_id>
          
          <creation_ts>2014-06-12 10:01:25 -0700</creation_ts>
          <short_desc>REGRESSION(169799): [GTK] several layout tests on editing/ fail</short_desc>
          <delta_ts>2024-05-28 23:30:15 -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>Tools / Tests</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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>dpino</cc>
    
    <cc>ltilve</cc>
    
    <cc>svillar</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1015144</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2014-06-12 10:01:25 -0700</bug_when>
    <thetext>The following layout test are failing on GTK+ since r169799 &lt;http://trac.webkit.org/changeset/169799&gt;

  editing/deleting/delete-by-word-001.html [ Failure ]
  editing/deleting/delete-by-word-002.html [ Failure ]
  editing/input/option-page-up-down.html [ Failure ]
  editing/input/scroll-viewport-page-up-down.html [ Failure ]
  editing/undo/undo-deleteWord.html [ Failure ]

The diffs are the following:

  http://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r169799%20%28745%29/editing/deleting/delete-by-word-001-pretty-diff.html
  http://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r169799%20%28745%29/editing/deleting/delete-by-word-002-pretty-diff.html
  http://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r169799%20%28745%29/editing/input/option-page-up-down-pretty-diff.html
  http://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r169799%20%28745%29/editing/input/scroll-viewport-page-up-down-pretty-diff.html
  http://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r169799%20%28745%29/editing/undo/undo-deleteWord-pretty-diff.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015173</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2014-06-12 11:40:16 -0700</bug_when>
    <thetext>I added this tests to the GTK TestExpectations on http://webkit.org/b/133811</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015357</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-06-13 01:30:47 -0700</bug_when>
    <thetext>I&apos;m not sure this is a regression, are you sure our own expectation files are correct? The actual result I see for editing/deleting/delete-by-word-001 looks the same than cross-platform expected results. Note that the test does:

    if (navigator.userAgent.search(/\bMac OS X\b/) != -1)
        deleteWordModifiers = [&quot;altKey&quot;];
    else
        deleteWordModifiers = [&quot;ctrlKey&quot;];

So, before r169799 we were using the alt key instead of the control key, which I think was wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015378</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2014-06-13 04:25:20 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; I&apos;m not sure this is a regression, are you sure our own expectation files are correct? The actual result I see for editing/deleting/delete-by-word-001 looks the same than cross-platform expected results. Note that the test does:
&gt; 
&gt;     if (navigator.userAgent.search(/\bMac OS X\b/) != -1)
&gt;         deleteWordModifiers = [&quot;altKey&quot;];
&gt;     else
&gt;         deleteWordModifiers = [&quot;ctrlKey&quot;];
&gt; 
&gt; So, before r169799 we were using the alt key instead of the control key, which I think was wrong.

It may be be that the test expectations for this tests before r169799 were wrong.

Lorenzo commented that r169799 made a bunch of tests to pass, so maybe this ones that started to fail just need to be rebaselined.

Compare the results:

169798 -&gt; layout-test 16 failures 13 new passes 23 flakes 1 missing results http://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Tests%29/builds/744
169799 -&gt; layout-test 20 failures 21 new passes 15 flakes 1 missing results http://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Tests%29/builds/745</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1015427</commentid>
    <comment_count>4</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2014-06-13 08:12:28 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; It may be be that the test expectations for this tests before r169799 were wrong.
&gt; 
&gt; Lorenzo commented that r169799 made a bunch of tests to pass, so maybe this ones that started to fail just need to be rebaselined.

Let&apos;s rebaseline them and remove as many platform specific results as possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2038374</commentid>
    <comment_count>5</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-05-28 23:29:18 -0700</bug_when>
    <thetext>The test(s) filed under this bug are consistenly passing since 275882@main (updated baselines for these tests).

https://results.webkit.org/?platform=GTK&amp;platform=WPE&amp;suite=layout-tests&amp;test=editing%2Fdeleting%2Fdelete-by-word-001.html

After updating test expectations in 279290@main, there are no more tests referring to this bug. Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2038375</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-05-28 23:30:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/128921894&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>