Work out under what circumstances an origin can change in a FeaturePolicy |
||
Issue descriptionAll our assumptions about Feature Policies so far have been that they are tied to a single origin that doesn't change through the Frame/Policies lifetime. However it turns out there are some cases where the origin of a SecurityContext can change. We should make sure that the times that these happen don't break any of our assumptions and that things behave sensibly.
,
Mar 21 2017
In each of these cases, the policy is being set correctly now -- whenever the origin changes, we call Platform::duplicateFeaturePolicyWithOrigin to create a new policy out of the old one, with the origin updated. This particular issue was addressed durign review of https://codereview.chromium.org/2651883008, and committed as https://chromium.googlesource.com/chromium/src/+/4a6080201a29001f398861f94f8a473d646facd2 |
||
►
Sign in to add a comment |
||
Comment 1 by iclell...@chromium.org
, Feb 28 2017