Title: [105218] trunk/Tools
- Revision
- 105218
- Author
- [email protected]
- Date
- 2012-01-17 17:16:30 -0800 (Tue, 17 Jan 2012)
Log Message
https://bugs.webkit.org/show_bug.cgi?id=76245
[Mac][DRT] should allow query string for the file URL.
Patch by Hajime Morrita <[email protected]> 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):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (105217 => 105218)
--- trunk/Tools/ChangeLog 2012-01-18 01:11:16 UTC (rev 105217)
+++ trunk/Tools/ChangeLog 2012-01-18 01:16:30 UTC (rev 105218)
@@ -1,3 +1,17 @@
+2012-01-17 Hajime Morrita <[email protected]>
+
+ https://bugs.webkit.org/show_bug.cgi?id=76245
+ [Mac][DRT] should allow query string for the file URL.
+
+ 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):
+
2012-01-17 Ojan Vafai <[email protected]>
Check style on test_expectations.txt files before commit
Modified: trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm (105217 => 105218)
--- trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm 2012-01-18 01:11:16 UTC (rev 105217)
+++ trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm 2012-01-18 01:16:30 UTC (rev 105218)
@@ -1283,7 +1283,7 @@
}
NSURL *url;
- if ([pathOrURLString hasPrefix:@"http://"] || [pathOrURLString hasPrefix:@"https://"])
+ if ([pathOrURLString hasPrefix:@"http://"] || [pathOrURLString hasPrefix:@"https://"] || [pathOrURLString hasPrefix:@"file://"])
url = "" URLWithString:pathOrURLString];
else
url = "" fileURLWithPath:pathOrURLString];
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes