diff --git a/index.bs b/index.bs index b67c812d..5abcd6fe 100644 --- a/index.bs +++ b/index.bs @@ -627,12 +627,15 @@ partial interface HTMLIFrameElement { following steps:
1. Let |inherited policy| be a new ordered map. 2. Let |declared policy| be a new ordered map. - 3. For each supported feature |feature|: + 3. Let |container policy| be the result of calling process feature + policy attributes on |node|. + 4. For each supported feature |feature|: 1. Let |isInherited| be the result of running Define an inherited - policy for feature in container at origin on |feature|, - |node| and |node|'s declared origin. + policy for feature in browsing context on |feature|, + |node|'s nested browsing context, |container policy|, and + |node|'s declared origin. 2. Set |inherited policy|[|feature|] to |isInherited|. - 4. Return a new feature policy with inherited policy + 5. Return a new feature policy with inherited policy |inherited policy| and declared policy |declared policy|.To get the declared origin for an Element |node|, run the
@@ -845,8 +848,8 @@ partial interface HTMLIFrameElement {
Given an element (element), this algorithm returns a
container policy, which may be empty. Given a browsing context (browsingContext), and an origin
- (origin) this algorithm returns a new Feature Policy. Given a browsing context (browsingContext), a container policy
+ containerPolicy, and an origin (origin) this
+ algorithm returns a new Feature Policy. Given a browsing context (browsingContext), origin
- (origin), and a [=response=] (response), this algorithm returns a new
- Feature Policy Given a browsing context (browsingContext), a
+ container policy (containerPolicy), an origin
+ (origin), and a [=response=] (response), this
+ this algorithm returns a new Feature Policy. Given a feature (feature), an origin (origin), and
- a browsing context (browsingContext), this algorithm returns the
- inherited policy for that feature. Given a feature (feature) a browsing context
+ (browsingContext), a container policy
+ (containerPolicy), and an origin (origin), this
+ algorithm returns the inherited policy for that feature. Given a feature (feature) a browsing context container
- (container), and an origin for a document in that
- container (origin), this algorithm returns the inherited
- policy for that feature.Process feature policy
- attributes
+ Process feature
+ policy attributes
@@ -888,9 +891,10 @@ partial interface HTMLIFrameElement {
Create a
- Feature Policy for a browsing context
-
Create a Feature
- Policy for a browsing context from response
-
Define an inherited policy for
+
Define an inherited policy for
feature in browsing context
-
-
- Enabled".Define an inherited
- policy for feature in container at
- origin
-
-
- Disabled".
Enabled".
- Enabled".
+
+
+ Enabled".Disabled".