Changeset 105218 in webkit


Ignore:
Timestamp:
Jan 17, 2012 5:16:30 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

https://bugs.webkit.org/show_bug.cgi?id=76245
[Mac][DRT] should allow query string for the file URL.

Patch by Hajime Morrita <morrita@chromium.org> on 2012-01-17
Reviewed by Tony Chang.

Taught DRT about file:// as a url instead of a file path.
We are now able to use a path file:///foo/bar.html?baz as a url
with which DRT opens "/foo/bar.html" with "baz" as a query string.

  • DumpRenderTree/mac/DumpRenderTree.mm:

(runTest):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r105213 r105218  
     12012-01-17  Hajime Morrita  <morrita@chromium.org>
     2
     3        https://bugs.webkit.org/show_bug.cgi?id=76245
     4        [Mac][DRT] should allow query string for the file URL.
     5
     6        Reviewed by Tony Chang.
     7
     8        Taught DRT about file:// as a url instead of a file path.
     9        We are now able to use a path file:///foo/bar.html?baz as a url
     10        with which DRT opens "/foo/bar.html" with "baz" as a query string.
     11
     12        * DumpRenderTree/mac/DumpRenderTree.mm:
     13        (runTest):
     14
    1152012-01-17  Ojan Vafai  <ojan@chromium.org>
    216
  • trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm

    r104902 r105218  
    12841284
    12851285    NSURL *url;
    1286     if ([pathOrURLString hasPrefix:@"http://"] || [pathOrURLString hasPrefix:@"https://"])
     1286    if ([pathOrURLString hasPrefix:@"http://"] || [pathOrURLString hasPrefix:@"https://"] || [pathOrURLString hasPrefix:@"file://"])
    12871287        url = [NSURL URLWithString:pathOrURLString];
    12881288    else
Note: See TracChangeset for help on using the changeset viewer.