Re: [w3c/FileAPI] Top-level navigations to blob URLs with media mime types result in resource load subject to partitioning (Issue #210)

recvfrom left a comment (w3c/FileAPI#210)

I have a preliminary PR for what this might look like in the fetch spec: https://github.com/whatwg/fetch/pull/1879

Along with that change we would update "obtain a blob object" in the File API spec so that the second argument is `an [=environment settings object=], the string "navigation", or the string "top-level-self-fetch"`. It will bypass partitioning in the "navigation" and "top-level-self-fetch" case.

Also, we'd update https://html.spec.whatwg.org/multipage/media.html#concept-media-load-resource to pass "top-level-self-fetch" to "obtain a blob object" similarly to how it's done in the fetch PR.

I'll work on creating PRs for those other but in the meantime if anyone thinks we should implement this a different way (for instance passing the required context into "obtain a blob object" so that it can determine when the "top-level-self-fetch" case is occurring) LMK

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/210#issuecomment-3533562139
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/FileAPI/issues/210/3533562139@github.com>

Received on Friday, 14 November 2025 16:28:38 UTC