Bug 268912

Summary: Explore replacing Apache with wptserve
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, fujii.hironori, jbedard, mike, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 178277    
Bug Blocks:    

Sam Sneddon [:gsnedders]
Reported 2024-02-07 05:58:25 PST
With bug 178277 seemingly no longer reproducing, it might be worthwhile investigating replacing Apache with wptserve for http/tests. Having things like the wptserve pipes (https://web-platform-tests.org/writing-tests/server-pipes.html) available for all tests would potentially be useful. It also removes another external dependency, and removes another difference between our internal tests and WPT. The primary thing needed to make this workable is needing to support CGI scripts (for both Python and Perl); this should be just writing a new handler (and we can probably base this on Python stdlib http.server.CGIHTTPRequestHandler). We'd also need to rewrite things currently in .htaccess files, but we don't have many of them.
Attachments
Alexey Proskuryakov
Comment 1 2024-02-07 15:32:43 PST
One of the reasons for using Apache in the first place was testing something that's common on the web. I think that still stands.
Radar WebKit Bug Importer
Comment 2 2024-02-14 05:59:14 PST
Note You need to log in before you can comment on or make changes to this bug.