Skip to content

Commit

Permalink
Minor nits
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Jun 19, 2020
1 parent e8e149b commit ff85f47
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -79862,23 +79862,23 @@ interface <dfn>BarProp</dfn> {

<dl>
<dt>"<dfn data-x="coep-unsafe-none" data-export="" data-dfn-for="embedder policy value"><code
data-x="">unsafe-none</code>"</dfn></dt>
data-x="">unsafe-none</code></dfn>"</dt>
<dd><p>This is the default value. When this value is used, cross-origin resources can be fetched
without giving explicit permission through the <span>CORS protocol</span> or the
`<code>Cross-Origin-Resource-Policy</code>` header.</p></dd>

<dt>"<dfn data-x="coep-require-corp" data-export="" data-dfn-for="embedder policy value"><code
data-x="">require-corp</code>"</dfn></dt>
data-x="">require-corp</code></dfn>"</dt>
<dd><p>When this value is used, fetching cross-origin resources requires the server's
explicit permission through the <span>CORS protocol</span> or the
`<code>Cross-Origin-Resource-Policy</code>` header.</p></dd>
</dl>

<p>The `<code>Cross-Origin-Embedder-Policy</code>` and
`<code>Cross-Origin-Embedder-Policy-Report-Only</code>` HTTP response header fields allow a server
to declare an <span>embedder policy</span> for a <code>Document</code>. These headers are <span
data-x="http-structured-header">structured headers</span> whose values must be <span
data-x="http-structured-header-token">token</span>. The valid <span
to declare an <span>embedder policy</span> for an <span>environment settings object</span>. These
headers are <span data-x="http-structured-header">structured headers</span> whose values must be
<span data-x="http-structured-header-token">token</span>. The valid <span
data-x="http-structured-header-token">token</span> values are the <span data-x="embedder policy
value">embedder policy values</span>. The token may also have attached <span
data-x="http-structured-header-parameters">parameters</span>; of these, the "<dfn
Expand Down Expand Up @@ -80046,7 +80046,8 @@ interface <dfn>BarProp</dfn> {
<var>target</var>:</p>

<ol>
<li><p>Return true if <var>target</var> is not a <span>child browsing context</span>.</p></li>
<li><p>If <var>target</var> is not a <span>child browsing context</span>, then return
true.</p></li>

<li><p>Let <var>responsePolicy</var> be the result of <span data-x="obtain an embedder
policy">obtaining an embedder policy</span> from <var>response</var>.</p></li>
Expand Down

0 comments on commit ff85f47

Please sign in to comment.