-
Notifications
You must be signed in to change notification settings - Fork 325
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
Origin policy for fs: URIs #71
Comments
I don't see a lot of options here. As for implementation.. aren't you afraid when you read things like:
Remember that we will need to stop using XUL/XPCOM soon. For me, implementing things that are already marked as deprecated is really frustrating 😢 but if you produce PR I won't say no. |
I also agree on first segment after |
It should be easy enough to isolate this into a separate module and have tests for it. Add CI running against nightly and there would be enough early warning if they break something. And it's not like they aren't breaking stuff every now and then anyway.
I think it's important to demonstrate a current use of such APIs. Also, an alternative plan to beg for APIs will be write your own webextension APIs, allow mozilla to adopt them later |
Thanks, it makes more sense to me now ("demonstrating use" is a sound policy). |
Quick brain dump or related resources:
|
I think suborigins are useless in this context because they are only sub- in nature. Putting any fixed suborigin under a random top origin won't win us anything, since the combination of both is still random. |
Yes, suborigins are a half measure that "works" as long user keeps using the same gateway. I mentioned it because there will probably be no other option than to use Suborigins under Chrome/Blink. It will be the lowest common denominator and a good reason to model Firefox origin policy to be compatible with Suborigin header (and additionally gateway-agnostic).
Cool, so we probably could bend it a bit, apply this to ..assuming WebExtensions will provide API for this in future (there is no such API at this moment). |
This issue is outdated. Closing. Status of Custom Protocols in WebExtension will be tracked in #164 |
According to mozilla bug 1247529#c16 it should be possible to give individual uris custom origins, similar to chrome's suborigins.
The question is what the origin policy should be for various kinds of paths
The text was updated successfully, but these errors were encountered: