Re: [whatwg/fetch] Bypass blob URL partitioning for top-level self fetches (PR #1879)

@recvfrom commented on this pull request.



> -     <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>
+          <li><p><var>global</var> is a {{Window}} object;
+
+          <li><p><var>global</var>'s <a for=Window>navigable</a> is not null;

I mirrored this off of the logic in https://fetch.spec.whatwg.org/#populate-request-from-client, but I'm not certain that the cases there are possible here as well...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1879#discussion_r2543854765
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1879/review/3485098275@github.com>

Received on Wednesday, 19 November 2025 23:19:50 UTC