Bug 172136

Summary: Links to WPT in layout test results should link to http URL
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, fred.wang, gsnedders, lforschler, ntim, simon.fraser, youennf
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.
Comment 4 Tim Nguyen (:ntim) 2022-08-06 17:03:35 PDT
We could point to wpt.live URLs
Comment 5 Simon Fraser (smfr) 2022-08-08 10:13:34 PDT
But that might point to a different version of the test. They need to point to a local version, but that is only going to work if the webkit-http server is running.

But we have this problem for http tests already; we should do the same thing.