Bug 226670

Summary: REGRESSION(r275765) When ignoring HSTS, sometimes loads fail
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: New BugsAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, darin, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 224340    
Attachments:
Description Flags
Patch
none
Patch none

Alex Christensen
Reported 2021-06-04 17:41:47 PDT
REGRESSION(r275765) When ignoring HSTS, sometimes loads fail
Attachments
Patch (1.32 KB, patch)
2021-06-04 17:42 PDT, Alex Christensen
no flags
Patch (1.35 KB, patch)
2021-06-04 17:43 PDT, Alex Christensen
no flags
Alex Christensen
Comment 1 2021-06-04 17:42:41 PDT
Alex Christensen
Comment 2 2021-06-04 17:43:20 PDT
Chris Dumez
Comment 3 2021-06-04 17:44:06 PDT
Comment on attachment 430636 [details] Patch Why don't we treat warnings as errors in WebKit2? Seems we should have gotten an unused parameter warning here..
Alex Christensen
Comment 4 2021-06-04 17:45:30 PDT
Comment on attachment 430636 [details] Patch We don't treat unused parameters as warnings in ObjC because the language requires unused parameters to be named in selector calls. We ought to be able to do it for non-selector functions like this, though.
Chris Dumez
Comment 5 2021-06-04 17:50:04 PDT
EWS
Comment 6 2021-06-04 19:16:05 PDT
Committed r278517 (238516@main): <https://commits.webkit.org/238516@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 430636 [details].
Darin Adler
Comment 7 2021-06-04 21:10:53 PDT
Alex is right. When I turned on unused parameter warnings, I didn’t do it for Objective-C because we’d have to add UNUSED_PARAM in so many places. And I really prefer the "leave out the variable name" over the "use the UNUSED_PARAM macro" style. But that wasn’t a great decision for the ages. I’d love to turn it on now even for the Objective-C files.
Note You need to log in before you can comment on or make changes to this bug.