Skip to content

Sanitizer API fixes for FF and Chrome - #16063

Merged
queengooborg merged 1 commit into
mdn:mainfrom
hamishwillee:sanitizer_updates
Apr 29, 2022
Merged

queengooborg merged 1 commit into
mdn:mainfrom
hamishwillee:sanitizer_updates

Conversation

@hamishwillee

Copy link
Copy Markdown
Contributor

This fixes some compatibility data:

  1. FF does not support Sanitize.sanitizeFor() as was marked - verified by testing and also you can see it is missing in the IDL: https://searchfox.org/mozilla-central/source/dom/webidl/Sanitizer.webidl
  2. FF does not support Sanitize.getConfiguration() - verified by testing and also you can see it is missing in the IDL: https://searchfox.org/mozilla-central/source/dom/webidl/Sanitizer.webidl
  3. Chrome does support Sanitize.getConfiguration() - verified by testing on browserstack (came in the same version as everything else).

Note that Chrome 102 is supposed to ship this feature: https://chromestatus.com/feature/5786893650231296
However I have not added that as it is a beta and did not appear to be true during initial testing.

@github-actions github-actions Bot added the data:api Compatibility data for Web API features. https://developer.mozilla.org/docs/Web/API label Apr 29, 2022

@queengooborg queengooborg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@queengooborg
queengooborg merged commit a267775 into mdn:main Apr 29, 2022
@hamishwillee
hamishwillee deleted the sanitizer_updates branch April 29, 2022 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compatibility data for Web API features. https://developer.mozilla.org/docs/Web/API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants