Bug 181815

Summary: [webkitpy] Allow http tests to use different port number.
Product: WebKit Reporter: Basuke Suzuki <basuke>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ap, basuke, don.olmstead, lforschler
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 179216    

Basuke Suzuki
Reported 2018-01-18 15:03:00 PST
Currently ports for http tests are fixed as 8000 for HTTP and 8443 for HTTPS. This fix will allow people who has a restriction for port numbers to run layout tests locally.
Attachments
Alexey Proskuryakov
Comment 1 2018-01-18 20:30:23 PST
Tests themselves have dependencies on port numbers, so I don’t think that this is feasible.
Basuke Suzuki
Comment 2 2018-01-19 11:28:49 PST
Yeah, I saw many tests hard coded. A quick check says 5k out of 8k http tests uses hard coded port number in it. Still changing port number is useful for some scenario: i.e: On development, preparing a small set of test cases at the office which has the port restrictions. Or how about adding modifiers on TestExpectations which runs only port number is specified?
Note You need to log in before you can comment on or make changes to this bug.