[Webkit-unassigned] [Bug 189564] New: [GTK] New test failing: http/tests/xmlhttprequest/url-with-credentials.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 12 15:31:50 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=189564

            Bug ID: 189564
           Summary: [GTK] New test failing:
                    http/tests/xmlhttprequest/url-with-credentials.html
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aboya at igalia.com
                CC: bugs-noreply at webkitgtk.org

r235813 (https://bugs.webkit.org/show_bug.cgi?id=189198) added http/tests/xmlhttprequest/url-with-credentials.html

This test fails in GTK.

--- /home/slave/webkitgtk/gtk-linux-64-debug-tests/build/layout-test-results/http/tests/xmlhttprequest/url-with-credentials-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-debug-tests/build/layout-test-results/http/tests/xmlhttprequest/url-with-credentials-actual.txt
@@ -4,9 +4,10 @@

 PASS () => xhr.responseText is 'User:  Password: '
 PASS () => xhr.responseText is 'User: foo Password: bar'
-PASS () => xhr.responseText is 'User:  Password: '
+FAIL () => xhr.responseText should be User:  Password: . Was User: foo Password: bar.
 PASS () => xhr.responseText is 'User: foo Password: bar'
 PASS successfullyParsed is true
+Some tests failed.

 TEST COMPLETE


What is supposed to happen according to the test is that for each XHR request made to a URL with Basic Auth (e.g. http://foo:bar@127.0.0.1:8000/xmlhttprequest/resources/url-with-credentials/), first a request without the Authorization header would be sent and only when the server rejects that, the request is resent again now with the Authorization header.

Should we do the same?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180912/ebb8c73e/attachment.html>


More information about the webkit-unassigned mailing list