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

Unpublish current spec? #207

Closed
lukewarlow opened this issue Jan 17, 2024 · 4 comments
Closed

Unpublish current spec? #207

lukewarlow opened this issue Jan 17, 2024 · 4 comments

Comments

@lukewarlow
Copy link
Contributor

The currently published spec no longer matches the expected API shape described in https://github.com/WICG/sanitizer-api/blob/main/explainer.md

Ideally that explainer should be translated into a bikeshed format and published but in the meantime I think it would be useful to unpublish or otherwise mark as deprecated the currently published spec.

@lukewarlow
Copy link
Contributor Author

lukewarlow commented Jan 17, 2024

The new spec should also ideally make reference to trusted types to explain the expected integration.

I would imagine that setHTML and parseHTML would not require trusted types as they're effectively covered by a browser provided policy?

@mozfreddyb
Copy link
Collaborator

@otherdaniel is working on a rewrite that will hopefully become a Pull Request very soon. See https://github.com/otherdaniel/purification/tree/spec-rewrite for a sneak preview 🙂.

@mozfreddyb
Copy link
Collaborator

@otherdaniel Any updates on your upcoming PR? I'd like to close this one out.

@mozfreddyb
Copy link
Collaborator

#208.

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