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

Note that Blob URL usage is restricted due to storage partitioning #36542

Open
recvfrom opened this issue Oct 28, 2024 · 1 comment
Open

Note that Blob URL usage is restricted due to storage partitioning #36542

recvfrom opened this issue Oct 28, 2024 · 1 comment
Labels
Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!

Comments

@recvfrom
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL_static

What specific section or headline is this issue about?

Usage notes

What information was incorrect, unhelpful, or incomplete?

Firefox has already restricted Blob URL fetches by Storage Key, and Safari has restricted Blob URL fetches by top-level origin (with the possibility of using top-level site and/or Storage Keys as well). Chrome is in the process of implementing this as well and we are making corresponding changes to the corresponding specs.

Also, we'd like to enforce noopener on navigations to Blob URLs where the site that created the Blob URL is cross-site from the top-level site of the document navigating to the Blob URL. Safari currently implements this (although using origin instead of site) and Firefox has expressed support for implementing this as well.

What did you expect to see?

Similar to the note that exists on https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API, it'd be helpful to indicate how Blob URL usage is restricted due to storage partitioning.

Do you have any supporting links, references, or citations?

w3c/FileAPI#153
w3c/FileAPI#201
whatwg/fetch#1783

Do you have anything more you want to share?

No response

@recvfrom recvfrom added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Oct 28, 2024
@github-actions github-actions bot added the Content:WebAPI Web API docs label Oct 28, 2024
@Josh-Cena Josh-Cena added help wanted If you know something about this topic, we would love your help! and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Oct 28, 2024
@Josh-Cena
Copy link
Member

We should create a new "Blob URL" page under https://developer.mozilla.org/en-US/docs/Web/URI/Schemes so we can explain everything about blob URLs in more detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!
Projects
None yet
Development

No branches or pull requests

2 participants