<?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>174591</bug_id>
          
          <creation_ts>2017-07-17 11:28:37 -0700</creation_ts>
          <short_desc>Layout Test media/video-add-autoplay-user-gesture.html is flaky.</short_desc>
          <delta_ts>2018-07-31 09:57:47 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=174373</see_also>
          <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="Matt Lewis">jlewis3</reporter>
          <assigned_to name="Ryan Haddad">ryanhaddad</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1329633</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-07-17 11:28:37 -0700</bug_when>
    <thetext>media/video-add-autoplay-user-gesture.html is a flaky failure on macOS Sierra Release WK2.

It looks to have been flaky since being added.
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=media%2Fvideo-add-autoplay-user-gesture.html

https://build.webkit.org/results/Apple%20Sierra%20Release%20WK2%20(Tests)/r219562%20(2990)/results.html


Diff:
--- /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/media/video-add-autoplay-user-gesture-expected.txt
+++ /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/media/video-add-autoplay-user-gesture-actual.txt
@@ -3,6 +3,6 @@
 RUN(video.src = findMediaFile(&quot;video&quot;, &quot;content/test&quot;))
 RUN(video.setAttribute(&quot;autoplay&quot;, &quot;&quot;))
 RUN(document.body.appendChild(video))
-EVENT(playing)
+FAIL: did not end fast enough
 END OF TEST</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1331626</commentid>
    <comment_count>1</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2017-07-24 09:17:22 -0700</bug_when>
    <thetext>Looks like we should just remove the &quot;failTestIn(1000)&quot; call and allow the test to take the full timeout value (20s) before failing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446557</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-07-31 08:59:54 -0700</bug_when>
    <thetext>I can easily reproduce this failure on Mojave with:
run-webkit-tests media/video-add-autoplay-user-gesture.html -fg --iter 25</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446558</commentid>
    <comment_count>3</comment_count>
      <attachid>346170</attachid>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-07-31 09:05:26 -0700</bug_when>
    <thetext>Created attachment 346170
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446559</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-07-31 09:06:16 -0700</bug_when>
    <thetext>With the attached patch, the test passes 100/100 times.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446576</commentid>
    <comment_count>5</comment_count>
      <attachid>346170</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-07-31 09:52:48 -0700</bug_when>
    <thetext>Comment on attachment 346170
Patch

Clearing flags on attachment: 346170

Committed r234428: &lt;https://trac.webkit.org/changeset/234428&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446577</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-07-31 09:52:50 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1446581</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-07-31 09:57:47 -0700</bug_when>
    <thetext>&lt;rdar://problem/42775727&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>346170</attachid>
            <date>2018-07-31 09:05:26 -0700</date>
            <delta_ts>2018-07-31 09:52:48 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-174591-20180731090525.patch</filename>
            <type>text/plain</type>
            <size>1335</size>
            <attacher name="Ryan Haddad">ryanhaddad</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjM0MzgyCmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggMzlmZDgzZjJkNjE2ZTgzZTIyYmY2
ZWE1MDQ2OGFjODc4MTEwNTgzNC4uYjNlZDVlMzEzNWFiZTk3YWI0ZDBjNzUwMjRhZWQyMDk5NTUy
ZmQzNCAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDE0IEBACisyMDE4LTA3LTMxICBSeWFuIEhhZGRhZCAgPHJ5
YW5oYWRkYWRAYXBw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