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

I Want to sandbox! ... again #5

Merged
merged 3 commits into from
Jul 29, 2019
Merged

Conversation

Malvoz
Copy link
Contributor

@Malvoz Malvoz commented Jul 18, 2019

No description provided.

@Malvoz Malvoz mentioned this pull request Jul 18, 2019
@marcoscaceres
Copy link

@aarongustafson, should we accept "wants" outright, or would it be appropriate to discuss if some other part of the platform could meet this need.... for example, we could evaluate if the Feature Policy API could address this use case?

@aarongustafson
Copy link
Member

@marcoscaceres My feeling was that some submissions may require a bit of back & forth between the submitter and us to clarify the underlying problem. If there’s an existing path, we can inform them of that and it probably would not make sense to include that “want” in the site. If it is a well-articulated need, however, without a clear pre-existing solution, it can be added (perhaps with some editorial refinement).

In the case of @Malvoz’s submission, I bow to your knowledge of Feature Policy. If it already provides the means of doing this, awesome. If not, but you think that’s the right area for managing this request, let’s propose a rewrite of the “want” that specifically scopes the sandboxing control desire within the context of Feature Policies.

Does that make sense?

@Malvoz
Copy link
Contributor Author

Malvoz commented Jul 19, 2019

we could evaluate if the Feature Policy API could address this use case?

This w3c/webappsec-permissions-policy#300 does discuss an opt-in negotiation, perhaps Require-Sandbox-Policy.

Looking at the bigger picture, even allowing/disallowing some features for FP itself is just as much guess-work as sandbox. To predictably ensure fully interoperable embedments, code distributors would have to advertise which API's or features they're using.

@Malvoz
Copy link
Contributor Author

Malvoz commented Jul 24, 2019

Perhaps FP reporting could go a long way, it'd still allow for content to first break and then (sandbox) features can be adjusted accordingly.

Edit: actually, policy violation reports aren't available for embedded content atm.

Anyhow, my Want isn't explicitly asking for a technology to achieve API/feature advertisement. It may be more reliable having code distributors to advertise required features in their documentation, and perhaps they just need guidance/motivation as it seems currently nobody's doing that.

@aarongustafson aarongustafson merged commit df3f3a9 into WebWeWant:master Jul 29, 2019
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

Successfully merging this pull request may close these issues.

3 participants