Skip to content

Commit

Permalink
Remove algorithms no longer needed (#325)
Browse files Browse the repository at this point in the history
The HTML spec was updated in whatwg/html#4772

Now the deprecated algorithms can be removed.
  • Loading branch information
dtapuska authored and clelland committed Jul 18, 2019
1 parent 0d8f9c0 commit a0c1cd2
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -911,21 +911,6 @@ partial interface HTMLIFrameElement {
<li>Return <var>policy</var>.</li>
</ol>
</section>
<section>
<h3 id="algo-initialize-for-document"><dfn export
id="initialize-for-document">Initialize <var>document</var>'s Feature
Policy</dfn></h3>
<p>Given a {{Document}} object (<var>document</var>), this algorithm
initialises <var>document</var>'s <a>Feature Policy</a></p>
<ol>
<li>Let <var>policy</var> be the result of running <a>Create a Feature Policy for a browsing
context</a> given <var>document</var>'s <a>browsing context</a>, and <var>document</var>'s
<a>origin</a>.</li>
<li>
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>.
</li>
</ol>
</section>
<section>
<h3 id="algo-create-from-response"><dfn export
id="create-from-response">Create a Feature
Expand All @@ -949,22 +934,6 @@ partial interface HTMLIFrameElement {
<li>Return <var>policy</var>.</li>
</ol>
</section>
<section>
<h3 id="algo-initialize-from-response"><dfn export
id="initialize-from-response">Initialize <var>document</var>'s Feature
Policy from <var>response</var></dfn></h3>
<p>Given a [=response=] (<var>response</var>) and a <a>Document</a>
(<var>document</var>), this algorithm populates <var>document</var>'s
<a>Feature Policy</a></p>
<ol>
<li>Let <var>policy</var> be the result of running <a>Create a Feature Policy for a browsing
context from response</a> given <var>document</var>'s <a>browsing context</a>, <var>document</var>'s
<a>origin</a>, and <var>response</var>.</li>
<li>
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>.
</li>
</ol>
</section>
<section>
<h3 id="algo-define-inherited-policy"><dfn id="define-inherited-policy">Define an inherited policy for
<var>feature</var> in <a>browsing context</a></dfn></h3>
Expand Down

0 comments on commit a0c1cd2

Please sign in to comment.