Skip to content

setHTML() - non-normalized SanitizerConfig explanation is incomplete #41634

@evilpie

Description

@evilpie

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/Element/setHTML

What specific section or headline is this issue about?

Exceptions

What information was incorrect, unhelpful, or incomplete?

non-normalized SanitizerConfig (one that includes both "allowed" and "removed" configuration settings).

This makes it sound like to me that a non-normalized config is just that specific case, but there are many other non-valid configurations, such as those with duplicate attributes/elements etc.

What did you expect to see?

Probably better to put this information onto some other page. https://wicg.github.io/sanitizer-api/#sanitizerconfig-valid is complicated and probably deserves it own section somewhere like the Sanitizer constructor.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions