[Webkit-unassigned] [Bug 51596] [Windows 7 Release Tests] http/tests/xmlhttprequest/basic-auth-nouser.html and basic-auth-nopassword.html failing since introduction in r74609

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 24 12:28:25 PST 2010


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





--- Comment #5 from Jan Erik Hanssen <jhanssen at gmail.com>  2010-12-24 12:28:25 PST ---
(In reply to comment #4)
> Right now the only connection to a Windows machine I have is a remote connection, so it will take me a bit to do any further debugging (so painfully slow ...)

The problem appears to be in LayoutTestController::queueLoad() itself:

    // FIXME: We should do real relative URL resolution here.
    int lastSlash = responseURL.rfind('/');
    if (lastSlash != -1)
        responseURL = responseURL.substr(0, lastSlash);

    wstring wURL = jsStringRefToWString(url);
    wstring wAbsoluteURL = responseURL + TEXT("/") + wURL;

I haven't actually executed this code (No easy access to a Windows box here either at the moment), but since wURL at that point is the URL input to queueLoad(), responseURL will be "/xmlhttprequest/". The code appears to attempt to generate an absolute URL out of a relative one.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list