WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
245504
Improve PolicyContainer implementation
https://bugs.webkit.org/show_bug.cgi?id=245504
Summary
Improve PolicyContainer implementation
Ryan Reno
Reported
2022-09-21 14:25:57 PDT
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
Comment 1
2022-09-21 14:26:21 PDT
<
rdar://problem/100240355
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug