Bug 251729 - Refactor Content Sniffing Policy
Summary: Refactor Content Sniffing Policy
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryan Reno
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-03 16:50 PST by Ryan Reno
Modified: 2023-02-03 16:56 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Reno 2023-02-03 16:50:24 PST
Content Sniffing Policy is named inconsistently and set with a mixture of enums and bools. We only ever disable it and only on some platforms. We should use the enum in more places and give the enum values names which reflect the usage more accurately.
Comment 1 Radar WebKit Bug Importer 2023-02-03 16:50:43 PST
<rdar://problem/105026695>
Comment 2 Ryan Reno 2023-02-03 16:56:50 PST
Pull request: https://github.com/WebKit/WebKit/pull/9636