DescriptionCSP: Move policy parsing out of Document.
This patch finishes the process of allowing policy parsing outside of
an ExecutionContext, and adjusts Document::initContentSecurityPolicy
to accept a ContentSecurityPolicy object rather than a set of headers.
If such an object is provided, the document will take ownership of it
and use it going forward. If no such object is provided, an empty
policy will be created and stored.
A future patch will move parsing out of FrameLoader::didBeginDocument
into DocumentLoader::responseReceived so that we can begin doing some
checks before a document is created.
BUG=411889
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181811
Patch Set 1 #Patch Set 2 : Moar. #Patch Set 3 : Rebase. #
Total comments: 6
Patch Set 4 : Reworking. #
Messages
Total messages: 11 (3 generated)
|