| Summary: | Migrate _WKDownload tests from TCPServer to HTTPServer | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alex Christensen <achristensen> | ||||||
| Component: | New Bugs | Assignee: | Alex Christensen <achristensen> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Alex Christensen
2021-09-29 13:44:51 PDT
Created attachment 439649 [details]
Patch
Created attachment 439660 [details]
Patch
Comment on attachment 439649 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=439649&action=review > Tools/TestWebKitAPI/Tests/WebKitCocoa/Download.mm:858 > +void respondSlowly(Connection connection, double kbps) Why aren't we passing connection by reference here? Seems odd to cause ref counting churn. > Tools/TestWebKitAPI/Tests/WebKitCocoa/Download.mm:899 > + HTTPServer server([&](Connection connection) { Not new to this patch but I think Connection should be passed by reference to the lambda. > Tools/TestWebKitAPI/Tests/WebKitCocoa/Download.mm:1156 > + auto websiteDataStore = [WKWebsiteDataStore defaultDataStore]; Nice bug you fixed :) Committed r283272 (242301@main): <https://commits.webkit.org/242301@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 439660 [details]. |