WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
57451
[chromium] DumpRenderTree silently fails when command-line arg is missing
https://bugs.webkit.org/show_bug.cgi?id=57451
Summary
[chromium] DumpRenderTree silently fails when command-line arg is missing
Evan Martin
Reported
2011-03-30 07:14:18 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Evan Martin
Comment 1
2011-03-30 07:31:10 PDT
Sorry, to actually state the bug: path/to/DumpRenderTree path/to/somefile this silently fails, even when the file exists, because it really wants an absolute path. We should both absolutize the path and verify it exists.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug