<?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>182055</bug_id>
          
          <creation_ts>2018-01-24 11:17:16 -0800</creation_ts>
          <short_desc>Fix race-condition in fast/text/click-ellipsis-assertion-failure.html</short_desc>
          <delta_ts>2018-01-24 14:29:08 -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>Tools / Tests</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=182062</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="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>jlewis3</cc>
    
    <cc>lforschler</cc>
    
    <cc>megan_gardner</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1392641</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-01-24 11:17:16 -0800</bug_when>
    <thetext>fast/text/click-ellipsis-assertion-failure.html should wait for it&apos;s promise to be fulfilled before finishing the test. If it does not, the subsequent test may crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392644</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-01-24 11:17:40 -0800</bug_when>
    <thetext>&lt;rdar://problem/36830203&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392645</commentid>
    <comment_count>2</comment_count>
      <attachid>332181</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-01-24 11:19:46 -0800</bug_when>
    <thetext>Created attachment 332181
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392646</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-01-24 11:23:01 -0800</bug_when>
    <thetext>I very much doubt that this is the only test suffering from this problem.  However, I think we should take these one-at-a-time. This specific bug will look like a flakey crash occurring on the test immediately after the test with the bug. Thankfully, the crashlog of the subsequent test will specifically call out the test with the race condition.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392727</commentid>
    <comment_count>4</comment_count>
    <who name="Megan Gardner">megan_gardner</who>
    <bug_when>2018-01-24 13:57:36 -0800</bug_when>
    <thetext>Can we make sure to file a bug about the other tests? There&apos;s been a lot more async code in our tests in the last few months, while it makes the tests more readable, I think it will make these races a lot more common, and we should try and keep a handle on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392745</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-01-24 14:07:55 -0800</bug_when>
    <thetext>(In reply to Megan Gardner from comment #4)
&gt; Can we make sure to file a bug about the other tests? There&apos;s been a lot
&gt; more async code in our tests in the last few months, while it makes the
&gt; tests more readable, I think it will make these races a lot more common, and
&gt; we should try and keep a handle on it.

I&apos;ve filed &lt;https://bugs.webkit.org/show_bug.cgi?id=182062&gt;.

Ryan and I are working on repaying technical debt in iOS layout tests, this is one class of failures we will be looking for.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392760</commentid>
    <comment_count>6</comment_count>
      <attachid>332181</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-01-24 14:25:08 -0800</bug_when>
    <thetext>Comment on attachment 332181
Patch

Clearing flags on attachment: 332181

Committed r227571: &lt;https://trac.webkit.org/changeset/227571&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392761</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-01-24 14:25:10 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1392767</commentid>
    <comment_count>8</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-01-24 14:29:08 -0800</bug_when>
    <thetext>&lt;rdar://problem/36839587&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>332181</attachid>
            <date>2018-01-24 11:19:46 -0800</date>
            <delta_ts>2018-01-24 14:25:08 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-182055-20180124111945.patch</filename>
            <type>text/plain</type>
            <size>1315</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDIyNzUzMikKKysrIExheW91dFRlc3RzL0NoYW5nZUxvZwkod29y
a2luZyBjb3B5KQpAQCAtMSwzICsxLDEzIEBACisyMDE4LTAxLTI0ICBKb25hdGhhbiBCZWRhcmQg
IDxqYmVkYXJkQGFwcGxlLmNvbT4KKworICAgICAgICBGaXggcmFjZS1jb25kaXRpb24gaW4gZmFz
dC90ZXh0L2NsaWNrL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