Skip to content

Commit a0c1cd2

Browse files
dtapuskaclelland
authored andcommitted
Remove algorithms no longer needed (#325)
The HTML spec was updated in whatwg/html#4772 Now the deprecated algorithms can be removed.
1 parent 0d8f9c0 commit a0c1cd2

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

index.bs

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -911,21 +911,6 @@ partial interface HTMLIFrameElement {
911911
<li>Return <var>policy</var>.</li>
912912
</ol>
913913
</section>
914-
<section>
915-
<h3 id="algo-initialize-for-document"><dfn export
916-
id="initialize-for-document">Initialize <var>document</var>'s Feature
917-
Policy</dfn></h3>
918-
<p>Given a {{Document}} object (<var>document</var>), this algorithm
919-
initialises <var>document</var>'s <a>Feature Policy</a></p>
920-
<ol>
921-
<li>Let <var>policy</var> be the result of running <a>Create a Feature Policy for a browsing
922-
context</a> given <var>document</var>'s <a>browsing context</a>, and <var>document</var>'s
923-
<a>origin</a>.</li>
924-
<li>
925-
Set <var>document</var>’s <a href="https://html.spec.whatwg.org/multipage/dom.html#concept-document-feature-policy">feature policy</a> to <var>policy</var>.
926-
</li>
927-
</ol>
928-
</section>
929914
<section>
930915
<h3 id="algo-create-from-response"><dfn export
931916
id="create-from-response">Create a Feature
@@ -949,22 +934,6 @@ partial interface HTMLIFrameElement {
949934
<li>Return <var>policy</var>.</li>
950935
</ol>
951936
</section>
952-
<section>
953-
<h3 id="algo-initialize-from-response"><dfn export
954-
id="initialize-from-response">Initialize <var>document</var>'s Feature
955-
Policy from <var>response</var></dfn></h3>
956-
<p>Given a [=response=] (<var>response</var>) and a <a>Document</a>
957-
(<var>document</var>), this algorithm populates <var>document</var>'s
958-
<a>Feature Policy</a></p>
959-
<ol>
960-
<li>Let <var>policy</var> be the result of running <a>Create a Feature Policy for a browsing
961-
context from response</a> given <var>document</var>'s <a>browsing context</a>, <var>document</var>'s
962-
<a>origin</a>, and <var>response</var>.</li>
963-
<li>
964-
Set <var>document</var>’s <a href="https://html.spec.whatwg.org/multipage/dom.html#concept-document-feature-policy">feature policy</a> to <var>policy</var>.
965-
</li>
966-
</ol>
967-
</section>
968937
<section>
969938
<h3 id="algo-define-inherited-policy"><dfn id="define-inherited-policy">Define an inherited policy for
970939
<var>feature</var> in <a>browsing context</a></dfn></h3>

0 commit comments

Comments
 (0)