Changeset 80249 in webkit


Ignore:
Timestamp:
Mar 3, 2011 9:36:04 AM (13 years ago)
Author:
Adam Roben
Message:

Work around a bug in KURL's parsing of Windows-style absolute file: URLs

Fixes <http://webkit.org/b/55674> Many tests fail in WebKit2 mode on Windows due to
incorrect parsing of absolute Windows-style file: URLs

Reviewed by Tim Hatcher.

  • WebKitTestRunner/TestInvocation.cpp:

(WTR::createWKURL): Add a "localhost" host to file: URLs we create to work around
<http://webkit.org/b/55683>.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r80248 r80249  
     12011-03-03  Adam Roben  <aroben@apple.com>
     2
     3        Work around a bug in KURL's parsing of Windows-style absolute file: URLs
     4
     5        Fixes <http://webkit.org/b/55674> Many tests fail in WebKit2 mode on Windows due to
     6        incorrect parsing of absolute Windows-style file: URLs
     7
     8        Reviewed by Tim Hatcher.
     9
     10        * WebKitTestRunner/TestInvocation.cpp:
     11        (WTR::createWKURL): Add a "localhost" host to file: URLs we create to work around
     12        <http://webkit.org/b/55683>.
     13
    1142011-03-03  Tony Chang  <tony@chromium.org>
    215
  • trunk/Tools/WebKitTestRunner/TestInvocation.cpp

    r80240 r80249  
    5959        return 0;
    6060
    61     const char* filePrefix = "file://";
     61    // FIXME: Remove the "localhost/" suffix once <http://webkit.org/b/55683> is fixed.
     62    const char* filePrefix = "file://localhost/";
    6263    static const size_t prefixLength = strlen(filePrefix);
    6364#if OS(WINDOWS)
Note: See TracChangeset for help on using the changeset viewer.