DescriptionCSP, PlzNavigate: make clear what happens with unique origins.
This CL makes the decision that when the current origin is unique, no
url can match 'self'. That was already the case before this CL, but now
it is explicitly stated.
It removes several methods and merges several attributes of CSPContext.
The goal is to make it less easy to shoot ourself in the foot.
A few tests are added too.
BUG=692449, 694959
Review-Url: https://codereview.chromium.org/2937503002
Cr-Commit-Position: refs/heads/master@{#480427}
Committed: https://chromium.googlesource.com/chromium/src/+/6f31c861309594a5b9c2b1b92c74bfc26abe24fd
Patch Set 1 #Patch Set 2 : Add web platform tests. #Messages
Total messages: 27 (20 generated)
|