Bug 142021

Summary: Get rid of TestInvocation::pathOrURL
Product: WebKit Reporter: Brady Eidson <beidson>
Component: Tools / TestsAssignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch v1 thorton: review+

Description Brady Eidson 2015-02-25 13:14:03 PST
Get rid of TestInvocation::pathOrURL

When running tests using `run-webkit-tests`, the pathOrURL string is always an absolute path.

But when running tests using `WebKitTestRunner <path to test>`, the pathOrURL string can be a relative path.

If you are inside a "special" directory and invoke WebKitTestRunner directly on a test in that directory, then the pathOrURL string does NOT contain that directory name.

Therefore, special behavior based on the directory name does not take place.

The pathOrURL string never really needs to be exposed, so this is a pretty good cleanup.
Comment 1 Brady Eidson 2015-02-25 13:19:07 PST
Created attachment 247337 [details]
Patch v1
Comment 2 Brady Eidson 2015-02-25 13:28:07 PST
http://trac.webkit.org/changeset/180636