Skip to content

Commit

Permalink
Get it to actuall build
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavweiss committed Oct 23, 2018
1 parent bbe9d6d commit 21f1cb9
Showing 1 changed file with 24 additions and 10 deletions.
34 changes: 24 additions & 10 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -2835,6 +2835,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x="concept-request-target-client-id" data-x-href="https://fetch.spec.whatwg.org/#concept-request-target-client-id">target client id</dfn></li>
<li><dfn data-x="concept-request-initiator" data-x-href="https://fetch.spec.whatwg.org/#concept-request-initiator">initiator</dfn></li>
<li><dfn data-x="concept-request-destination" data-x-href="https://fetch.spec.whatwg.org/#concept-request-destination">destination</dfn></li>
<li><dfn data-x="request-keepalive-flag" data-x-href="https://fetch.spec.whatwg.org/#request-keepalive-flag">keepalive flag</dfn></li>
<li><dfn data-x="request-service-workers-mode" data-x-href="https://fetch.spec.whatwg.org/#request-service-workers-mode">service-workers mode</dfn></li>
<li><dfn data-x="concept-potential-destination" data-x-href="https://fetch.spec.whatwg.org/#concept-potential-destination">potential destination</dfn></li>
<li><dfn data-x="concept-potential-destination-translate" data-x-href="https://fetch.spec.whatwg.org/#concept-potential-destination-translate">translating</dfn> a <span data-x="concept-potential-destination">potential destination</span></li>
<li><dfn data-x="concept-script-like-destination" data-x-href="https://fetch.spec.whatwg.org/#request-destination-script-like">script-like</dfn> <span data-x="concept-request-destination">destinations</span></li>
Expand Down Expand Up @@ -3186,6 +3188,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<dfn data-x-href="https://dom.spec.whatwg.org/#concept-shadow-including-descendant">shadow-including descendant</dfn>, and
<dfn data-x-href="https://dom.spec.whatwg.org/#concept-shadow-including-inclusive-descendant">shadow-including inclusive descendant</dfn> concepts</li>
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#concept-tree-first-child">first child</dfn> and <dfn data-x-href="https://dom.spec.whatwg.org/#concept-tree-next-sibling">next sibling</dfn> concepts</li>
<li>The <dfn data-x="concept-document-origin" data-x-href="https://dom.spec.whatwg.org/#concept-document-origin"><code>origin</code></dfn></li>
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#document-element">document element</dfn> concept</li>
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#in-a-document-tree">in a document tree</dfn>, <dfn data-x-href="https://dom.spec.whatwg.org/#in-a-document">in a document</dfn> (legacy), and <dfn data-x-href="https://dom.spec.whatwg.org/#connected">connected</dfn> concepts</li>
<li>The <dfn data-x="concept-slot" data-x-href="https://dom.spec.whatwg.org/#concept-slot">slot</dfn> concept, and its <dfn data-x="slot-name" data-x-href="https://dom.spec.whatwg.org/#slot-name">name</dfn> and <dfn data-x-href="https://dom.spec.whatwg.org/#slot-assigned-nodes">assigned nodes</dfn></li>
Expand Down Expand Up @@ -13650,22 +13653,33 @@ interface <dfn>HTMLLinkElement</dfn> : <span>HTMLElement</span> {
<ol>
<li><p>Set <var>request</var>'s <span data-x="concept-request-initiator">initiator</span>
to "prefetch".</p></li>
<li><p>Set <var>request</var>'s <span data-x="concept-request-keepalive-flag">keep-alive</span> flag
<li><p>Set <var>request</var>'s <span data-x="request-keepalive-flag">keepalive</span> flag
to "true".</p></li>
<li><p>Let <var>as</var> be the current state of the <code data-x="attr-link-as">as</code>
attribute.</p></li>
<li><p>Set <var>request</var>'s <span data-x="concept-request-destination">destination</span>
to the result of <span data-x="concept-potential-destination-translate">translating</span>
<var>as</var>.</p></li>
<li>If the browser is using both the <var>request</var>'s <span data-x="concept-request-url">URL</span> and the <span data-x="top-level-browsing-context">top-level browsing context</span>'s <span data-x="document">document</span>'s <var data-x="dom-document-origin">origin</span> as cache keys for <var>request</var>, then:
<ol>
<li><p>If <var>request</var>'s <span data-x="concept-request-credentials-mode">credentials mode</span> is "include", then return.</p></li>
<li><p>If <var>request</var>'s <span data-x="concept-request-referrer-policy">referrer policy</span> is not "no-referrer", then return.</p></li>
<li><p>If <var>request</var>'s <span data-x="concept-request-destination">destination</span> is not "document", then return.</p></li>
<li><p>Set <var>request</var>'s <span data-x="concept-request-redirect-mode">redirect mode</span> to "manual".</p></li>
<li><p>Set <var>request</var>'s <span data-x="concept-request-redirect-mode">redirect mode</span> to "manual".</p></li>
<li><p>Set <var>request</var>'s <span data-x="concept-request-service-workers-mode">service workers mode</span> to "none".</p></li>
</ol>
<li>
<p>If the browser is using both the <var>request</var>'s <span
data-x="concept-request-url">URL</span> and the
<span>top-level browsing context</span>'s <span>active document</span>'s <span
data-x="concept-document-origin">origin</span> as cache keys for <var>request</var>, then:</p>
<ol>
<li><p>If <var>request</var>'s <span
data-x="concept-request-credentials-mode">credentials mode</span> is "include", then return.
</p></li>
<li><p>If <var>request</var>'s <span
data-x="concept-request-referrer-policy">referrer policy</span> is not "no-referrer", then
return.</p></li>
<li><p>If <var>request</var>'s <span data-x="concept-request-destination">destination</span>
is not "document", then return.</p></li>
<li><p>Set <var>request</var>'s <span
data-x="concept-request-redirect-mode">redirect mode</span> to "manual".</p></li>
<li><p>Set <var>request</var>'s <span
data-x="request-service-workers-mode">service workers mode</span> to "none".</p></li>
</ol>
</li>
</ol>
</li>
<!--FETCH--><li><p><span data-x="concept-fetch">Fetch</span> <var>request</var>.</p></li>
Expand Down

0 comments on commit 21f1cb9

Please sign in to comment.