| Summary: | REGRESSION(r273541) WKWebView can't load NSURLRequest subclasses | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alex Christensen <achristensen> | ||||
| Component: | New Bugs | Assignee: | Alex Christensen <achristensen> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bfulgham | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=222145 | ||||||
| Attachments: |
|
||||||
|
Description
Alex Christensen
2021-04-08 13:10:04 PDT
Created attachment 425538 [details]
Patch
Comment on attachment 425538 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425538&action=review A really nice fix. Thank you for solving this puzzle! > Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.mm:551 > + if (Class requestClass = [requestToSerialize class]; UNLIKELY(requestClass != [NSURLRequest class] && requestClass != [NSMutableURLRequest class])) { Could we add logging indicating what the unexpected class is? It would be interesting to know how widespread this weird use case is. Committed r275687 (236321@main): <https://commits.webkit.org/236321@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425538 [details]. |