DescriptionCSP: Fix protocolless 'frame-ancestor' source expressions.
When checking 'frame-ancestor', we end up asking for the SecurityOrigin
of the protected resource before we actually have a protected resource
whose origin we could ask for. This, unsurprisingly, crashes.
This patch adds a protocol property to the ContentSecurityPolicy object
so that we can perform all the checks for source expressions that don't
specify protocols without crashing the renderer.
BUG=424074
R=jochen@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183801
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|