<?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>191680</bug_id>
          
          <creation_ts>2018-11-15 06:43:21 -0800</creation_ts>
          <short_desc>[GTK] Two pasteboard tests are flaky</short_desc>
          <delta_ts>2024-01-12 22:44:01 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit 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="Miguel Gomez">magomez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1478867</commentid>
    <comment_count>0</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2018-11-15 06:43:21 -0800</bug_when>
    <thetext>editing/pasteboard/copy-paste-first-line-in-textarea.html [ Failure Pass ]

Most of the time the test passes but every now and then fails in the first run. The diff when it happen is:

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/editing/pasteboard/copy-paste-first-line-in-textarea-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/editing/pasteboard/copy-paste-first-line-in-textarea-actual.txt
@@ -1,3 +1,3 @@
 
-PASS selectFirstLineIncludingLineBreak(); copyPaste(); textarea.selectionEnd is offsetAfterLineBreak
+FAIL selectFirstLineIncludingLineBreak(); copyPaste(); textarea.selectionEnd should be 6. Was 9.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1478869</commentid>
    <comment_count>1</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2018-11-15 06:45:50 -0800</bug_when>
    <thetext>editing/pasteboard/display-block-on-spans.html [ Failure Pass ]

Same as the previous one, mostly passes but sometimes the first run fails with this diff

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/editing/pasteboard/display-block-on-spans-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/editing/pasteboard/display-block-on-spans-actual.txt
@@ -20,16 +20,9 @@
 &quot;
 
 after:
-| &quot;
-&quot;
-| &lt;span&gt;
-|   style=&quot;display: block;&quot;
-|   &lt;b&gt;
-|     &quot;This is a paragraph.&quot;
 | &lt;span&gt;
 |   style=&quot;display:block&quot;
-|   &lt;b&gt;
-|     &quot;This&lt;#selection-caret&gt;&quot;
+|   &quot;hello, world&lt;#selection-caret&gt;&quot;
 |   &lt;b&gt;
 |     &quot; is another paragraph.&quot;
 |   &lt;br&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1478870</commentid>
    <comment_count>2</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2018-11-15 06:46:35 -0800</bug_when>
    <thetext>Both tests were passing consistently until the first fail happened in r236540, so something around that revision caused the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2004859</commentid>
    <comment_count>3</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-01-12 22:43:58 -0800</bug_when>
    <thetext>The test(s) filed under this bug ticket have consistently passed for the last 4000 revisions. Currently, there are no more tests in TestExpectations that refer to this bug. Therefore, I&apos;m closing the bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>