[Webkit-unassigned] [Bug 245504] New: Improve PolicyContainer implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 21 14:25:57 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245504

            Bug ID: 245504
           Summary: Improve PolicyContainer implementation
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rreno at apple.com
                CC: beidson at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220921/29830a9f/attachment-0001.htm>


More information about the webkit-unassigned mailing list