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

Remove reference to setHTML from innerHTML page. #33274

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

lukewarlow
Copy link
Contributor

This isn't a useful reference to include on the innerHTML page until the sanitizer API is finished and shipping again.

Description

Remove reference to setHTML from innerHTML page.

Motivation

setHTML isn't usable in any current browsers (the brower compat data says Samsung Internet ships it still but thats wrong see mdn/browser-compat-data#22860)

Additional details

This API shipped in Chrome for a few versions before unshipping. However the API is being standardised and will eventually ship, linking to it in it's current state will only lead to user confusion both now and in the future.

Related issues and pull requests

See #33141

See #32731

This isn't a useful reference to include on the innerHTML page until the sanitizer API is finished and shipping again.
@lukewarlow lukewarlow requested a review from a team as a code owner April 26, 2024 00:02
@lukewarlow lukewarlow requested review from sideshowbarker and removed request for a team April 26, 2024 00:02
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Apr 26, 2024
Copy link
Contributor

Preview URLs

Copy link
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

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

Thanks @lukewarlow - appreciate that you are on top of the use of this API.

@hamishwillee hamishwillee merged commit f70ae6e into mdn:main Apr 26, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants