Bug 139358 - [SOUP] Layout test http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials.html fails
Summary: [SOUP] Layout test http/tests/misc/authentication-redirect-3/authentication-s...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-07 04:16 PST by Carlos Alberto Lopez Perez
Modified: 2016-11-05 00:59 PDT (History)
5 users (show)

See Also:


Attachments
Patch (3.95 KB, patch)
2016-11-04 07:42 PDT, Carlos Garcia Campos
mcatanzaro: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Alberto Lopez Perez 2014-12-07 04:16:20 PST
Since r176752 <http://trac.webkit.org/r176752> the layout test http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials.html is failing on platform GTK.

The diff is (after 176757 <http://trac.webkit.org/176757>): https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20%28Tests%29/r176761%20%284606%29/http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-pretty-diff.html
Comment 1 Carlos Alberto Lopez Perez 2014-12-07 08:15:09 PST
Marked accordingly on the GTK expectations on https://trac.webkit.org/r176922
Comment 2 Alexey Proskuryakov 2014-12-07 09:49:01 PST
Does Gtk have custom results for this test? I wonder if it actually started to pass.
Comment 3 Carlos Alberto Lopez Perez 2014-12-07 10:27:01 PST
(In reply to comment #2)
> Does Gtk have custom results for this test? I wonder if it actually started
> to pass.

It don't has (AFAIK). It is using the expected file for WK2 <LayoutTests/platform/wk2/http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-expected.txt> that was added on 176757 <http://trac.webkit.org/176757>
Comment 4 Carlos Garcia Campos 2016-11-04 07:37:18 PDT
The diff at that time is no longer available, so I don't know if we are still failing for the same reason, but what I know id the reason why we currently do this wrong is not a regression introduced in r176752. The problem is that credentials cached in WebCore take precedence over credentials provided in the URL in case of redirection.
Comment 5 Carlos Garcia Campos 2016-11-04 07:42:40 PDT
Created attachment 293887 [details]
Patch
Comment 6 Carlos Garcia Campos 2016-11-05 00:59:58 PDT
Committed r208416: <http://trac.webkit.org/changeset/208416>