<?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>126518</bug_id>
          
          <creation_ts>2014-01-06 05:37:02 -0800</creation_ts>
          <short_desc>REGRESSION(r161176): http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials.html is failing on GTK</short_desc>
          <delta_ts>2014-01-15 08:57:05 -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>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>Gtk, LayoutTestFailure, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Zan Dobersek">zan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>danw</cc>
    
    <cc>gustavo</cc>
    
    <cc>mrobinson</cc>
    
    <cc>rakuco</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>964603</commentid>
    <comment_count>0</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2014-01-06 05:37:02 -0800</bug_when>
    <thetext>The http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials.html layout test is failing after r161176.
http://trac.webkit.org/changeset/161176
http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=http%2Ftests%2Fmisc%2Fauthentication-redirect-3%2Fauthentication-sent-to-redirect-same-origin-with-location-credentials.html

Here&apos;s the diff:
--- /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-actual.txt
@@ -9,19 +9,19 @@
 --------
 Frame: &apos;&lt;!--framePath //&lt;!--frame0--&gt;--&gt;&apos;
 --------
-Resource loaded with HTTP authentication username &apos;redirectuser&apos; and password &apos;redirectpassword&apos;
+Resource loaded with HTTP authentication username &apos;testUser&apos; and password &apos;testPassword&apos;
 
 --------
 Frame: &apos;&lt;!--framePath //&lt;!--frame1--&gt;--&gt;&apos;
 --------
-Resource loaded with HTTP authentication username &apos;redirectuser&apos; and password &apos;redirectpassword&apos;
+Resource loaded with HTTP authentication username &apos;testUser&apos; and password &apos;testPassword&apos;
 
 --------
 Frame: &apos;&lt;!--framePath //&lt;!--frame2--&gt;--&gt;&apos;
 --------
-Resource loaded with HTTP authentication username &apos;redirectuser&apos; and password &apos;redirectpassword&apos;
+Resource loaded with HTTP authentication username &apos;testUser&apos; and password &apos;testPassword&apos;
 
 --------
 Frame: &apos;&lt;!--framePath //&lt;!--frame3--&gt;--&gt;&apos;
 --------
-Resource loaded with HTTP authentication username &apos;redirectuser&apos; and password &apos;redirectpassword&apos;
+Resource loaded with HTTP authentication username &apos;testUser&apos; and password &apos;testPassword&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964604</commentid>
    <comment_count>1</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2014-01-06 05:38:50 -0800</bug_when>
    <thetext>And http/tests/security/redirect-BLOCKED-to-localURL.html as well.

Diff:
--- /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/http/tests/security/redirect-BLOCKED-to-localURL-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/http/tests/security/redirect-BLOCKED-to-localURL-actual.txt
@@ -1,2 +1,3 @@
+CONSOLE MESSAGE: Not allowed to load local resource: file-redirect-target.html
 
 This attempts to open a redirect link to a file URL, which should be blocked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964633</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2014-01-06 08:44:00 -0800</bug_when>
    <thetext>Carlos, are you able to fix this or should we roll out the change for now?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964909</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-01-07 00:36:34 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Carlos, are you able to fix this or should we roll out the change for now?

I&apos;ll take a look at it today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>965061</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-01-07 10:22:47 -0800</bug_when>
    <thetext>hmm, both tests pass for me with wk1 and wk2. I indeed ran the tests before landing r161176. Is it flaky in the bots?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>965065</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-01-07 10:32:18 -0800</bug_when>
    <thetext>I think I know how to fix it in any case, but I&apos;m unable to reproduce it, I&apos;ll fix it tomorrow, today I&apos;ve been busy working on all other layout tests in the end (see bug #126570).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>965384</commentid>
    <comment_count>6</comment_count>
      <attachid>220610</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-01-08 01:28:15 -0800</bug_when>
    <thetext>Created attachment 220610
Temptative fix

This patch restores the previous behaviour, clearing the credentials form the request before calling client()-&gt;willSendRequest(), but applying them right before creating the new SoupRequest. I don&apos;t know if it actually fixes the problem, because I haven&apos;t been able to reproduce it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>965481</commentid>
    <comment_count>7</comment_count>
      <attachid>220610</attachid>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2014-01-08 07:49:58 -0800</bug_when>
    <thetext>Comment on attachment 220610
Temptative fix

View in context: https://bugs.webkit.org/attachment.cgi?id=220610&amp;action=review

&gt; Source/WebCore/ChangeLog:11
&gt; +
&gt; +        Clear the credentials before calling willSendRequest on the client
&gt; +        to avoid sending the credentials to the API layer, but apply them
&gt; +        again to the request right before creating the new SoupRequest.
&gt; +

Hrm. Where are the credentials cleared? I only see you removing newRequest.removeCredentials(); in doRedirect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>965488</commentid>
    <comment_count>8</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-01-08 08:07:31 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; (From update of attachment 220610 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=220610&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/ChangeLog:11
&gt; &gt; +
&gt; &gt; +        Clear the credentials before calling willSendRequest on the client
&gt; &gt; +        to avoid sending the credentials to the API layer, but apply them
&gt; &gt; +        again to the request right before creating the new SoupRequest.
&gt; &gt; +
&gt; 
&gt; Hrm. Where are the credentials cleared? I only see you removing newRequest.removeCredentials(); in doRedirect.

http://trac.webkit.org/browser/trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp#L507</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>965791</commentid>
    <comment_count>9</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-01-09 00:01:10 -0800</bug_when>
    <thetext>Committed r161549: &lt;http://trac.webkit.org/changeset/161549&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>967222</commentid>
    <comment_count>10</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2014-01-13 02:34:52 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; And http/tests/security/redirect-BLOCKED-to-localURL.html as well.
&gt; 
&gt; Diff:
&gt; --- /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/http/tests/security/redirect-BLOCKED-to-localURL-expected.txt
&gt; +++ /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/http/tests/security/redirect-BLOCKED-to-localURL-actual.txt
&gt; @@ -1,2 +1,3 @@
&gt; +CONSOLE MESSAGE: Not allowed to load local resource: file-redirect-target.html
&gt; 
&gt;  This attempts to open a redirect link to a file URL, which should be blocked.

This failure still remains. The console message is not expected both in the GTK-specific and Mac-specific baselines, but it is in the global baseline.

Is it OK to remove the GTK-specific baseline? Is the console message a progression?

http://trac.webkit.org/browser/trunk/LayoutTests/http/tests/security/redirect-BLOCKED-to-localURL-expected.txt
http://trac.webkit.org/browser/trunk/LayoutTests/platform/gtk/http/tests/security/redirect-BLOCKED-to-localURL-expected.txt
http://trac.webkit.org/browser/trunk/LayoutTests/platform/mac/http/tests/security/redirect-BLOCKED-to-localURL-expected.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>967307</commentid>
    <comment_count>11</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2014-01-13 07:49:51 -0800</bug_when>
    <thetext>(In reply to comment #10)

&gt; Is it OK to remove the GTK-specific baseline? Is the console message a progression?


It seems like the test is passing as long as you don&apos;t see: &quot;FAIL: This page shouldn&apos;t load via HTTP redirect to file:&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>968290</commentid>
    <comment_count>12</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-01-15 05:40:34 -0800</bug_when>
    <thetext>(In reply to comment #11)
&gt; (In reply to comment #10)
&gt; 
&gt; &gt; Is it OK to remove the GTK-specific baseline? Is the console message a progression?
&gt; 
&gt; 
&gt; It seems like the test is passing as long as you don&apos;t see: &quot;FAIL: This page shouldn&apos;t load via HTTP redirect to file:&quot;

Right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>968334</commentid>
    <comment_count>13</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2014-01-15 08:57:05 -0800</bug_when>
    <thetext>(In reply to comment #12)
&gt; (In reply to comment #11)
&gt; &gt; (In reply to comment #10)
&gt; &gt; 
&gt; &gt; &gt; Is it OK to remove the GTK-specific baseline? Is the console message a progression?
&gt; &gt; 
&gt; &gt; 
&gt; &gt; It seems like the test is passing as long as you don&apos;t see: &quot;FAIL: This page shouldn&apos;t load via HTTP redirect to file:&quot;
&gt; 
&gt; Right.

Thanks for the clarifications. Removed in r162068.
http://trac.webkit.org/changeset/162068</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>220610</attachid>
            <date>2014-01-08 01:28:15 -0800</date>
            <delta_ts>2014-01-08 12:43:58 -0800</delta_ts>
            <desc>Temptative fix</desc>
            <filename>wkcore-redirect-credentials.diff</filename>
            <type>text/plain</type>
            <size>4555</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0xheW91dFRlc3RzL0NoYW5nZUxvZyBiL0xheW91dFRlc3RzL0NoYW5nZUxv
ZwppbmRleCAzY2MzMGYyLi4zNzczOWM5IDEwMDY0NAotLS0gYS9MYXlvdXRUZXN0cy9DaGFuZ2VM
b2cKKysrIGIvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTYgQEAKKzIwMTQtMDEt
MDggIENhcmxvcyBHYXJjaWEgQ2FtcG9zICA8Y2dhcmNpYUBpZ2FsaWEuY29tPgorCisgICAgICAg
IFJFR1JFU1NJT04ocjE2MTE3Nik6IGh0dHAvdGVzdHMvbWlzYy9hdXRoZW50aWNhdGlvbi1yZWRp
cmVjd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mRsZSwgbmV3UmVxdWVzdCwgdHJ1ZSk7
Ci0KLSAgICAvLyBJZiB3ZSBzZW50IGNyZWRlbnRpYWxzIHdpdGggdGhpcyByZXF1ZXN0J3MgVVJM
LCB3ZSBkb24ndCB3YW50IHRoZSByZXNwb25zZSB0byBjYXJyeSB0aGVtIHRvCi0gICAgLy8gdGhl
IFdlYktpdCBsYXllci4gVGhleSB3ZXJlIG9ubHkgcGxhY2VkIGluIHRoZSBVUkwgZm9yIHRoZSBi
ZW5lZml0IG9mIGxpYnNvdXAuCi0gICAgbmV3UmVxdWVzdC5yZW1vdmVDcmVkZW50aWFscygpOwor
ICAgIH0KIAogICAgIGNsZWFudXBTb3VwUmVxdWVzdE9wZXJhdGlvbihoYW5kbGUpOwogCg==
</data>
<flag name="review"
          id="244355"
          type_id="1"
          status="+"
          setter="mrobinson"
    />
          </attachment>
      

    </bug>

</bugzilla>