Skip to content
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

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

Open
wants to merge 3 commits 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
6 changes: 6 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -2688,6 +2688,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x="concept-request-user-activation" data-x-href="https://fetch.spec.whatwg.org/#request-user-activation">user-activation</dfn></li>
<li><dfn data-x="concept-request-render-blocking" data-x-href="https://fetch.spec.whatwg.org/#request-render-blocking">render-blocking</dfn></li>
<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-top-level-navigation-initiator-origin" data-x-href="https://fetch.spec.whatwg.org/#concept-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 @@ -102639,6 +102640,11 @@ location.href = '#foo';</code></pre>
</dl>
</li>

<li><p>If <var>navigable</var> is a <span>top-level traversable</span>, 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>documentResource</var> is a <span>POST resource</span>, then:</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please have a look at the formatting guidelines. This isn't quite it.

Copy link
Author

@bvandersloot-mozilla bvandersloot-mozilla Mar 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll take a crack at this while reading the style guide.


Expand Down