Skip to content

Pass a top-level navigation initiator origin to Fetch #10991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -2707,6 +2707,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x="concept-request-initiator-type" data-x-href="https://fetch.spec.whatwg.org/#request-initiator-type">initiator type</dfn></li>
<li><dfn data-x="concept-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-request-traversable-for-user-prompts" data-x-href="https://fetch.spec.whatwg.org/#concept-request-window">traversable for user prompts</dfn></li>
<li><dfn data-x="concept-request-top-level-navigation-initiator-origin" data-x-href="https://fetch.spec.whatwg.org/#request-top-level-navigation-initiator-origin">top-level navigation initiator origin</dfn></li>
<li><dfn data-x-href="https://fetch.spec.whatwg.org/#concept-request-add-range-header">add a range header</dfn></li>
</ul>
</li>
Expand Down Expand Up @@ -103476,6 +103477,12 @@ location.href = '#foo';</code></pre>
</dl>
</li>

<li><p>If <var>navigable</var> is a <span>top-level traversable</span>, then set
<var>request</var>'s <span
data-x="concept-request-top-level-navigation-initiator-origin">top-level navigation initiator
origin</span> to <var>entry</var>'s <span data-x="she-document-state">document state</span>'s
<span data-x="document-state-initiator-origin">initiator origin</span></p></li>

<li>
<p>If <var>request</var>'s <span data-x="concept-request-client">client</span> is null:</p>

Expand Down