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

Address space inheritance for blob URLs #18

Closed
anforowicz opened this issue Aug 8, 2019 · 4 comments
Closed

Address space inheritance for blob URLs #18

anforowicz opened this issue Aug 8, 2019 · 4 comments

Comments

@anforowicz
Copy link

If a loopback or local frame creates and iframes a blob URL, then what should be the behavior of the subframe wrt cors-rfc1918? I think all frames with origin X (e.g. https://intranet.corp.example.com) should behave consistently and therefore I expect the same cors-rfc1918 behavior for both 1) https://intranet.corp.example.com and 2) blob:https://intranet.corp.example.com/some-guid.

@letitz
Copy link
Collaborator

letitz commented Nov 12, 2020

I tend to agree. What we care about is the provenance of the content, so the blob you describe should not behave differently from the page that created it.

@letitz
Copy link
Collaborator

letitz commented Dec 3, 2020

I was going to post an update here, but I think this issue is actually simply superseded by #27.

TL;DR: I think we should inherit the address space of the blob URL creator context.

@letitz letitz closed this as completed Dec 3, 2020
@letitz
Copy link
Collaborator

letitz commented Dec 10, 2020

Re-opening this to track longer term work, blocked upstream by w3c/FileAPI#142.

We want to implement the inheritance laid out in the previous comment, but cannot do so until the Blob URL store can capture policies at URL creation time.

@letitz letitz reopened this Dec 10, 2020
@letitz letitz changed the title What is the desired behavior for blob: URLs created from privileged ip address space? Address space inheritance for blob URLs Dec 10, 2020
@letitz
Copy link
Collaborator

letitz commented May 31, 2021

This issue is fixed via integration with HTML's new policy container, added in 4627c13. Implementation work to match the spec should not be tracked here.

@letitz letitz closed this as completed May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants