<?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>110844</bug_id>
          
          <creation_ts>2013-02-25 21:34:28 -0800</creation_ts>
          <short_desc>REGRESSION (r143931): set-cookie-on-redirect.html breaks subsequent tests</short_desc>
          <delta_ts>2013-03-06 17:14:00 -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>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="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Sergio Villar Senin">svillar</assigned_to>
          <cc>beidson</cc>
    
    <cc>cgarcia</cc>
    
    <cc>dino</cc>
    
    <cc>mrobinson</cc>
    
    <cc>roger_fong</cc>
    
    <cc>svillar</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>841606</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-02-25 21:34:28 -0800</bug_when>
    <thetext>This test doesn&apos;t clean up cookies, so they show up in subsequent tests, and in particular break third-party-cookie-relaxing.html, because it depends on whether there are already cookies set for the particular first party.

Bots hide this misbehavior, because they re-run failing tests, this time without set-cookie-on-redirect.html.

Sergio, can you please look into this? I think that the patch will need to be rolled out if this cannot be fixed soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841719</commentid>
    <comment_count>1</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2013-02-26 00:39:17 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; This test doesn&apos;t clean up cookies, so they show up in subsequent tests, and in particular break third-party-cookie-relaxing.html, because it depends on whether there are already cookies set for the particular first party.
&gt; 
&gt; Bots hide this misbehavior, because they re-run failing tests, this time without set-cookie-on-redirect.html.
&gt; 
&gt; Sergio, can you please look into this? I think that the patch will need to be rolled out if this cannot be fixed soon.

Sure.

It&apos;s true that the test I added does not clean up cookies, but in any case, shouldn&apos;t third-party-cookie-relaxing.html call clearAllCookies() at the beginning as the other tests do?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841727</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-02-26 00:48:33 -0800</bug_when>
    <thetext>Possibly. Cookie testing machinery is extremely fragile, and I&apos;m not sure if that would help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841777</commentid>
    <comment_count>3</comment_count>
      <attachid>190237</attachid>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2013-02-26 01:28:37 -0800</bug_when>
    <thetext>Created attachment 190237
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841922</commentid>
    <comment_count>4</comment_count>
      <attachid>190237</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-02-26 05:39:20 -0800</bug_when>
    <thetext>Comment on attachment 190237
Patch

Clearing flags on attachment: 190237

Committed r144045: &lt;http://trac.webkit.org/changeset/144045&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841923</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-02-26 05:39:23 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>842137</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-02-26 10:13:01 -0800</bug_when>
    <thetext>Confirmed that the patch helped on Mac. Thank you!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>849507</commentid>
    <comment_count>7</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2013-03-06 17:14:00 -0800</bug_when>
    <thetext>More reports in https://bugs.webkit.org/show_bug.cgi?id=111650</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>190237</attachid>
            <date>2013-02-26 01:28:37 -0800</date>
            <delta_ts>2013-02-26 05:39:20 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-110844-20130226102446.patch</filename>
            <type>text/plain</type>
            <size>2344</size>
            <attacher name="Sergio Villar Senin">svillar</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTQzOTMxCmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggYmNjODlhNmJhYTVlNWY4NWU5YjM5
ZmMxNDAwZDVmYTQzOTA0YjQ3YS4uMjQ0OWFkZmY5MzMyYThkZmM1MjAyYTQwMTIxMDI4N2IxMjk2
YWVjNyAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDEzLTAyLTI2ICBTZXJnaW8gVmlsbGFyIFNl
bmluICA8c3ZpbGxhckBpZ2FsaWEuY29tPgorCisgICAgICAgIFJFR1JFU1NJT04gKHIxNDM5MzEp
OiBzZXQtY29va2llLW9uLXJlZGlyZWN0Lmh0bWwgYnJlYWtzIHN1YnNlcXVlbnQgdGVzdHMKKyAg
ICAg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