Summary: | Remove setHTTPAccept call for main resources | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Rob Buis <rbuis> | ||||||
Component: | Page Loading | Assignee: | Rob Buis <rbuis> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | achristensen, beidson, cdumez, commit-queue, darin, dbates, ews-watchlist, japhet, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | 213626 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Rob Buis
2020-02-09 10:51:49 PST
Created attachment 390208 [details]
Patch
Comment on attachment 390208 [details]
Patch
This leaves us with the ResourceRequestBase::httpAccept(), ResourceRequestBase::setHTTPAccept() and ResourceRequestBase::clearHTTPAccept() functions in ResourceRequestBase all unused. Lets remove those functions.
Comment on attachment 390208 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=390208&action=review > Source/WebCore/ChangeLog:12 > + No test since no change in behavior. It would be worth pointing out which tests check the accept header for main resource loads, since those are the tests that prove there is no change in behavior. Created attachment 390235 [details]
Patch
Comment on attachment 390235 [details] Patch Clearing flags on attachment: 390235 Committed r256166: <https://trac.webkit.org/changeset/256166> All reviewed patches have been landed. Closing bug. This broke our API. See https://bugs.webkit.org/show_bug.cgi?id=213626 |