Bug 245504
| Summary: | Improve PolicyContainer implementation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryan Reno <rreno> |
| Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | beidson, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryan Reno
We use the PolicyContainer to hold and inherit CSP, COOP, COEP, and ReferrerPolicy. Our integration with storage in history could be improved - we presently check for a history navigation type in DocumentWriter::begin and either use the history policy container from that or store the policy container. It would be nice to have an API for that. Additionally, we pass around a ContentSecurityPolicyResponseHeaders object which stores a CSP List as a vector of strings. That implementation can probably be improved to a more memory efficient representation for storing and parsing a CSPList on inheritance.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/100240355>