-
Notifications
You must be signed in to change notification settings - Fork 375
Bypass blob URL partitioning for top-level self fetches #1879
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5363,14 +5363,41 @@ returning a response directly, or allowing the request to proceed by returning n | |
| <li><p>Let <var>isTopLevelNavigation</var> be true if <var>request</var>'s | ||
| <a for=request>destination</a> is "<code>document</code>"; otherwise, false. | ||
|
|
||
| <li><p>If <var>isTopLevelNavigation</var> is false and <var>requestEnvironment</var> is null, | ||
| then return a <a>network error</a>. | ||
| <li><p>Let <var>isTopLevelSelfFetch</var> be false. | ||
|
|
||
| <li><p>If <var>request</var>'s <a for=request>client</a> is non-null: | ||
| <ol> | ||
| <li><p>Let <var>global</var> be <var>request</var>'s <a for=request>client</a>'s | ||
| <a for="environment settings object">global object</a>. | ||
|
|
||
| <li> | ||
| <p>If all of the following conditions are true: | ||
|
|
||
| <ul class=brief> | ||
recvfrom marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| <li><p><var>global</var> is a {{Window}} object; | ||
|
|
||
| <li><p><var>global</var>'s <a for=Window>navigable</a> is not null; | ||
|
||
|
|
||
| <li><p>Let <var>navigationOrEnvironment</var> be the string "<code>navigation</code>" if | ||
| <var>isTopLevelNavigation</var> is true; otherwise, <var>requestEnvironment</var>. | ||
| <li><p><var>global</var>'s <a for=Window>navigable</a>'s <a for=navigable>parent</a> | ||
| is null; and | ||
|
|
||
| <li><p><var>requestEnvironment</var>'s <a for="environment">creation URL</a> | ||
| <a for=url>equals</a> <var>request</var>'s <a for=request>current URL</a>, | ||
recvfrom marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| </ul> | ||
|
|
||
| <p>then set <var>isTopLevelSelfFetch</var> to false. | ||
recvfrom marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| <li><p>Let <var>stringOrEnvironment</var> be <var>requestEnvironment</var>. | ||
|
|
||
| <li><p>If <var>isTopLevelNavigation</var> is true, then set <var>stringOrEnvironment</var> | ||
| to the string "<code>navigation</code>". | ||
recvfrom marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| <li><p>Otherwise, if <var>isTopLevelSelfFetch</var> is true, then set | ||
| <var>stringOrEnvironment</var> to the string "<code>top-level-self-fetch</code>". | ||
recvfrom marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| </ol> | ||
|
|
||
| <li><p>Let <var>blob</var> be the result of <a>obtaining a blob object</a> given | ||
| <var>blobURLEntry</var> and <var>navigationOrEnvironment</var>. | ||
| <var>blobURLEntry</var> and <var>stringOrEnvironment</var>. | ||
recvfrom marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| <li><p>If <var>blob</var> is not a {{Blob}} object, then return a <a>network error</a>. | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.