diff --git a/index.bs b/index.bs
index f4f1b496..02a9b6a6 100644
--- a/index.bs
+++ b/index.bs
@@ -887,19 +887,18 @@ partial interface HTMLIFrameElement {
- Initialize document's Feature
- Policy
- Given a {{Document}} object (document), this algorithm
- initialises document's Feature Policy
+ Create a
+ Feature Policy for a browsing context
+ Given a browsing context (browsingContext), and an origin
+ (origin) this algorithm returns a new Feature Policy.
- Let inherited policy be a new ordered map.
- Let declared policy be a new ordered map.
- For each feature supported,
- - Let isInherited be the result of running Define an
- inherited policy for feature in document on feature and
- document.
+
- Let isInherited be the result of running Define an inherited policy for feature in browsing
+ context on feature, origin and browsingContext.
- Set inherited policy[feature] to
isInherited.
@@ -909,58 +908,75 @@ partial interface HTMLIFrameElement {
policy inherited policy and declared policy declared
policy.
+ - Return policy.
+
+
+
- Initialize document's Feature
- Policy from response
- Given a [=response=] (response) and a Document
- (document), this algorithm populates document's
+
Create a Feature
+ Policy for a browsing context from response
+ Given a browsing context (browsingContext), origin
+ (origin), and a [=response=] (response), this algorithm returns a new
Feature Policy
- - Initialize document's
- Feature Policy
- - Let inherited policy be document's Feature
- Policy's inherited policy.
- - Let declared policy be a new ordered map.
+ - Let policy be the result of running Create a Feature Policy for a browsing
+ context given browsingContext, and origin.
- Let d be the result of running Process response policy on
- response and document's origin.
+ response and origin.
- For each feature → allowlist of d:
- - If inherited policy[feature] is true, then
- set declared policy[feature] to
+
- If policy's inherited policy[feature] is true, then
+ set policy's declared policy[feature] to
allowlist.
- - Let policy be a new feature policy, with inherited
- policy inherited policy and declared policy declared
- policy.
-
+ - Return policy.
+
+
+