Bug 81299 - WebKitTestRunner layoutTestController.pathToLocalResource needs to be updated to work with WKTR
Summary: WebKitTestRunner layoutTestController.pathToLocalResource needs to be updated...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jonathan Bedard
URL: http://build.webkit.org/results/Lion%...
Keywords: InRadar, LayoutTestFailure, Regression
Depends on:
Blocks:
 
Reported: 2012-03-15 19:29 PDT by Jessie Berlin
Modified: 2019-07-22 07:41 PDT (History)
12 users (show)

See Also:


Attachments
Patch (25.97 KB, patch)
2018-01-29 16:52 PST, Jonathan Bedard
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews104 for mac-sierra-wk2 (3.03 MB, application/zip)
2018-01-29 18:00 PST, EWS Watchlist
no flags Details
Patch (27.62 KB, patch)
2018-01-31 17:36 PST, Jonathan Bedard
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Jessie Berlin 2012-03-15 19:38:12 PDT
Added expected failing results to get the bots green in http://trac.webkit.org/changeset/110928.
Comment 2 Radar WebKit Bug Importer 2012-03-15 19:38:45 PDT
<rdar://problem/11061007>
Comment 3 Jonathan Bedard 2018-01-29 16:52:27 PST
Created attachment 332603 [details]
Patch
Comment 4 Jonathan Bedard 2018-01-29 16:53:31 PST
Comment on attachment 332603 [details]
Patch

Fairly certain that more layout test expectations are relying on the old behavior, I still need to track those down.
Comment 5 EWS Watchlist 2018-01-29 18:00:37 PST
Comment on attachment 332603 [details]
Patch

Attachment 332603 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/6255378

New failing tests:
http/tests/plugins/post-url-file.html
Comment 6 EWS Watchlist 2018-01-29 18:00:38 PST
Created attachment 332613 [details]
Archive of layout-test-results from ews104 for mac-sierra-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-sierra-wk2  Platform: Mac OS X 10.12.6
Comment 7 Alexey Proskuryakov 2018-01-29 18:53:30 PST
Comment on attachment 332603 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=332603&action=review

> Tools/TestRunnerShared/SharedPathToLocalResource.h:31
> +JSStringRef sharedPathToLocalResource(JSStringRef localResourceJSString, JSStringRef testURL);
> +JSStringRef sharedPathToLocalResource(JSStringRef localResourceJSString, const std::string& testURL);

I don't think that "shared" should be in the name. The caller doesn't care where it's implemented, and readers will just wonder what a "shared path" is.
Comment 8 Jonathan Bedard 2018-01-30 08:45:33 PST
*** Bug 95043 has been marked as a duplicate of this bug. ***
Comment 9 Jonathan Bedard 2018-01-31 16:56:01 PST
(In reply to Jonathan Bedard from comment #8)
> *** Bug 95043 has been marked as a duplicate of this bug. ***

This is incorrect. Bug 95043 requires this bug to be fixed, but there seems to be another problem with http/tests/security/local-user-CSS-from-remote.html beyond the obvious.
Comment 10 Jonathan Bedard 2018-01-31 17:36:36 PST
Created attachment 332827 [details]
Patch
Comment 11 Alexey Proskuryakov 2019-07-20 11:43:53 PDT
The latest patch was never marked for review, should it be?
Comment 12 Jonathan Bedard 2019-07-22 07:41:49 PDT
(In reply to Alexey Proskuryakov from comment #11)
> The latest patch was never marked for review, should it be?

This was in support for on-device testing, which was de-prioritized around this time....there was some problem with the patch (which I don't recall) and I was trying to make sure that the change didn't get lost.

In short, no, it shouldn't be marked for review, but I should probably take another look at this and get something like it landed.