Changeset 105461 in webkit


Ignore:
Timestamp:
Jan 19, 2012 4:13:05 PM (12 years ago)
Author:
ap@apple.com
Message:

[WK2] fast/url/degenerate-file-base.html fails
https://bugs.webkit.org/show_bug.cgi?id=76619

Reviewed by Adam Roben.

Tools:

A URL generated form local path for loading had an extra slash, making document.URL
incorrect in all WebKit2 tests (file://localhost//path/to/test.html).

  • WebKitTestRunner/TestInvocation.cpp: (WTR::createWKURL):

LayoutTests:

  • platform/qt-wk2/Skipped: Unskipped the test.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r105458 r105461  
     12012-01-19  Alexey Proskuryakov  <ap@apple.com>
     2
     3        [WK2] fast/url/degenerate-file-base.html fails
     4        https://bugs.webkit.org/show_bug.cgi?id=76619
     5
     6        Reviewed by Adam Roben.
     7
     8        * platform/qt-wk2/Skipped: Unskipped the test.
     9
    1102012-01-19  Adam Barth  <abarth@webkit.org>
    211
  • trunk/LayoutTests/platform/qt-wk2/Skipped

    r105405 r105461  
    449449svg/W3C-SVG-1.1
    450450svg/W3C-SVG-1.1-SE
    451 
    452 # [Qt][WK2] fast/url/degenerate-file-base.html fails
    453 # https://bugs.webkit.org/show_bug.cgi?id=76619
    454 fast/url/degenerate-file-base.html
  • trunk/Tools/ChangeLog

    r105452 r105461  
     12012-01-19  Alexey Proskuryakov  <ap@apple.com>
     2
     3        [WK2] fast/url/degenerate-file-base.html fails
     4        https://bugs.webkit.org/show_bug.cgi?id=76619
     5
     6        Reviewed by Adam Roben.
     7
     8        A URL generated form local path for loading had an extra slash, making document.URL
     9        incorrect in all WebKit2 tests (file://localhost//path/to/test.html).
     10
     11        * WebKitTestRunner/TestInvocation.cpp: (WTR::createWKURL):
     12
    1132012-01-18  Ojan Vafai  <ojan@chromium.org>
    214
  • trunk/Tools/WebKitTestRunner/TestInvocation.cpp

    r97407 r105461  
    6060        return 0;
    6161
    62     // FIXME: Remove the "localhost/" suffix once <http://webkit.org/b/55683> is fixed.
    63     const char* filePrefix = "file://localhost/";
    64     static const size_t prefixLength = strlen(filePrefix);
    6562#if OS(WINDOWS)
    6663    const char separator = '\\';
    6764    bool isAbsolutePath = length >= 3 && pathOrURL[1] == ':' && pathOrURL[2] == separator;
     65    // FIXME: Remove the "localhost/" suffix once <http://webkit.org/b/55683> is fixed.
     66    const char* filePrefix = "file://localhost/";
    6867#else
    6968    const char separator = '/';
    7069    bool isAbsolutePath = pathOrURL[0] == separator;
     70    const char* filePrefix = "file://";
    7171#endif
     72    static const size_t prefixLength = strlen(filePrefix);
    7273
    7374    OwnArrayPtr<char> buffer;
Note: See TracChangeset for help on using the changeset viewer.