WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 81299
WebKitTestRunner layoutTestController.pathToLocalResource needs to be updated to work with WKTR
https://bugs.webkit.org/show_bug.cgi?id=81299
Summary
WebKitTestRunner layoutTestController.pathToLocalResource needs to be updated...
Jessie Berlin
Reported
2012-03-15 19:29:12 PDT
http://trac.webkit.org/changeset/94976
and
http://trac.webkit.org/changeset/95588
for
https://bugs.webkit.org/show_bug.cgi?id=65781
updated pathToLocalResource for DRT, but did not update it for WKTR. This is causing the following tests to fail on WK2: fast/loader/local-CSS-from-local.html fast/loader/local-JavaScript-from-local.html fast/loader/local-image-from-local.html
http://build.webkit.org/results/Lion%20Intel%20Debug%20(WebKit2%20Tests)/r110925%20(4979)/fast/loader/local-CSS-from-local-pretty-diff.html
http://build.webkit.org/results/Lion%20Intel%20Debug%20(WebKit2%20Tests)/r110925%20(4979)/fast/loader/local-JavaScript-from-local-pretty-diff.html
http://build.webkit.org/results/Lion%20Intel%20Debug%20(WebKit2%20Tests)/r110925%20(4979)/fast/loader/local-image-from-local-pretty-diff.html
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
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jessie Berlin
Comment 1
2012-03-15 19:38:12 PDT
Added expected failing results to get the bots green in
http://trac.webkit.org/changeset/110928
.
Radar WebKit Bug Importer
Comment 2
2012-03-15 19:38:45 PDT
<
rdar://problem/11061007
>
Jonathan Bedard
Comment 3
2018-01-29 16:52:27 PST
Created
attachment 332603
[details]
Patch
Jonathan Bedard
Comment 4
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.
EWS Watchlist
Comment 5
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
EWS Watchlist
Comment 6
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
Alexey Proskuryakov
Comment 7
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.
Jonathan Bedard
Comment 8
2018-01-30 08:45:33 PST
***
Bug 95043
has been marked as a duplicate of this bug. ***
Jonathan Bedard
Comment 9
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.
Jonathan Bedard
Comment 10
2018-01-31 17:36:36 PST
Created
attachment 332827
[details]
Patch
Alexey Proskuryakov
Comment 11
2019-07-20 11:43:53 PDT
The latest patch was never marked for review, should it be?
Jonathan Bedard
Comment 12
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.
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