Summary: | [cocoa] Allow TestWebKitAPI::HTTPServer to run non-loopback addresses for API tests | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Frédéric Wang (:fredw) <fred.wang> | ||||
Component: | Tools / Tests | Assignee: | Frédéric Wang (:fredw) <fred.wang> | ||||
Status: | RESOLVED WONTFIX | ||||||
Severity: | Normal | CC: | ap | ||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=219257 | ||||||
Attachments: |
|
Description
Frédéric Wang (:fredw)
2022-01-11 14:27:19 PST
Created attachment 448879 [details]
Patch
I don’t think that this should be possible. Exposing test code over network (even local) is a security problem, and we are explicitly preventing that in tests. Using this hardcoded 192.168.0.10 IP address seems to work on my local machine, but the requests time out on the api bots. (In reply to Alexey Proskuryakov from comment #2) > I don’t think that this should be possible. Exposing test code over network > (even local) is a security problem, and we are explicitly preventing that in > tests. Makes sense. Let's close as WONTFIX then. |