<?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>111650</bug_id>
          
          <creation_ts>2013-03-06 17:13:05 -0800</creation_ts>
          <short_desc>REGRESSION (r143931): set-cookie-on-redirect.html still breaking subsequent tests</short_desc>
          <delta_ts>2013-08-21 13:57:33 -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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dean Jackson">dino</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>lforschler</cc>
    
    <cc>svillar</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>849505</commentid>
    <comment_count>0</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2013-03-06 17:13:05 -0800</bug_when>
    <thetext>After https://bugs.webkit.org/show_bug.cgi?id=110844 we&apos;re still seeing flakiness on
http/tests/cookies/third-party-cookie-relaxing.html
http/tests/plugins/third-party-cookie-accept-policy.html

e.g. http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK1%20(Tests)/r144995%20(6142)/results.html

I&apos;m going to skip them for now because our bot is backed up. Sergio, could you remove the skip if you can fix this? Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>849512</commentid>
    <comment_count>1</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2013-03-06 17:18:26 -0800</bug_when>
    <thetext>Flakiness added https://trac.webkit.org/r145010</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>849644</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-03-06 19:31:40 -0800</bug_when>
    <thetext>Dean, did you confirm that it&apos;s set-cookie-on-redirect.html? I was also seeing this flakiness a few days ago locally, but it seemed to me that this was some other test, possibly from another directory. I did not have an opportunity to investigate.

I don&apos;t know why this would affect bot performance though. The failing tests are re-run, but that should be orders of magnitude faster than running all tests. Or is it something in EWS logic that makes us re-run all the tests?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>849830</commentid>
    <comment_count>3</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2013-03-07 00:40:44 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Dean, did you confirm that it&apos;s set-cookie-on-redirect.html? I was also seeing this flakiness a few days ago locally, but it seemed to me that this was some other test, possibly from another directory. I did not have an opportunity to investigate.
&gt; 
&gt; I don&apos;t know why this would affect bot performance though. The failing tests are re-run, but that should be orders of magnitude faster than running all tests. Or is it something in EWS logic that makes us re-run all the tests?

As Alexey mentions first of all we must ensure that the new test is causing the flakiness. Looks like the cookies&apos; testing infrastructure easily leads to flaky results.

In any case, if you find that the test I added is indeed the culprit I&apos;ll be happy to help.

BTW I have just remembered that the relaxing test did not have the typical cleanAllCookies() at the beginning, so any test leaving a cookie in the jar by mistake could be compromising its behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>852594</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-03-11 12:43:36 -0700</bug_when>
    <thetext>Dean, did the change help? Note that one of the paths you added is non-existent, there is no http/tests/cookies/third-party-cookie-accept-policy.html test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>919575</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-08-21 12:27:18 -0700</bug_when>
    <thetext>This is actually the case, and the underlying reason is a lower level issue, &lt;rdar://problem/10080130&gt;.

I&apos;m looking into whether I can devise a workaround.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>919587</commentid>
    <comment_count>6</comment_count>
      <attachid>209294</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-08-21 12:52:57 -0700</bug_when>
    <thetext>Created attachment 209294
proposed fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>919618</commentid>
    <comment_count>7</comment_count>
      <attachid>209294</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-08-21 13:57:31 -0700</bug_when>
    <thetext>Comment on attachment 209294
proposed fix

Clearing flags on attachment: 209294

Committed r154410: &lt;http://trac.webkit.org/changeset/154410&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>919619</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-08-21 13:57:33 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>209294</attachid>
            <date>2013-08-21 12:52:57 -0700</date>
            <delta_ts>2013-08-21 13:57:31 -0700</delta_ts>
            <desc>proposed fix</desc>
            <filename>CookiesRedirect.txt</filename>
            <type>text/plain</type>
            <size>1879</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9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