[Cocoa] Reduce usage of autorelease, fix mistakes noticed nearby code using autorelease
Created attachment 425547 [details] Patch
Created attachment 425552 [details] Patch
Committed r275765 (236343@main): <https://commits.webkit.org/236343@main>
<rdar://problem/76456954>
Comment on attachment 425552 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425552&action=review > Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:510 > + setIgnoreHSTS(mutableRequest.get(), false); This should be shouldIgnoreHSTS , not false. Likely the cause of rdar://problem/78066692
Fixing in https://bugs.webkit.org/show_bug.cgi?id=226670
Comment on attachment 425552 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=425552&action=review >> Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:510 >> + setIgnoreHSTS(mutableRequest.get(), false); > > This should be shouldIgnoreHSTS , not false. Likely the cause of rdar://problem/78066692 Oh, no! Thanks for spotting this.