Bug 172136 - Links to WPT in layout test results should link to http URL
Summary: Links to WPT in layout test results should link to http URL
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-15 14:36 PDT by Simon Fraser (smfr)
Modified: 2018-06-25 08:55 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2017-05-15 14:36:40 PDT
If a WPT fails, the layout test results page that I get after running tests links to file URLs, not http urls, so I can't just click on that link to load the test correctly.

Example: imported/w3c/web-platform-tests/cssom-view/CaretPosition-001.html is failing, test page links to file:///Volumes/Data/Development/OSX/webkit/OpenSource/LayoutTests/imported/w3c/web-platform-tests/cssom-view/CaretPosition-001.html

Of course an http link is only going to work if I have the WPT server running.
Comment 1 Alexey Proskuryakov 2017-05-15 18:45:33 PDT
> Of course an http link is only going to work if I have the WPT server running.

Which is normally not the case when looking at this webpage.
Comment 2 youenn fablet 2017-05-15 18:53:12 PDT
(In reply to Alexey Proskuryakov from comment #1)
> > Of course an http link is only going to work if I have the WPT server running.
> 
> Which is normally not the case when looking at this webpage.

Agreed that we should handle the case of bot results, in which case they should point to a WPT/Apache global web server or if they come from local rwt runs where pointing to a local server is fine.

I guess the page could point to both...
Comment 3 Simon Fraser (smfr) 2017-05-15 18:55:25 PDT
Maybe a little arrow next to the test name that points to the testable URL.