[Webkit-unassigned] [Bug 57451] New: [chromium] DumpRenderTree silently fails when command-line arg is missing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 30 07:14:18 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=57451
Summary: [chromium] DumpRenderTree silently fails when
command-line arg is missing
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: evan at chromium.org
The code looks like:
=> params.testUrl = webkit_support::CreateURLForPathOrURL(pathOrURL);
webkit_support::SetCurrentDirectoryForFileURL(params.testUrl);
The first line converts a string like "foobar" into "file:///foobar".
We should instead test whether that file exists, and resolve it into "file:///absolute/path/to/foobar".
This means the changed CreateURLForPathOrURL() can potentially fail and abort.
--
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