← back to v146 · sanitizer-api

conformance · v146

v146 · sanitizer-api — conformance probe

7 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.

browser: spec: https://wicg.github.io/sanitizer-api/ chromestatus: #5814067399491584 generated 2026-06-01T08:00:00Z by conformance-author-v1-subagent
0
pass
0
fail
0
blocked
7
total
id contract kind verdict detail
sanitizer-interface-exposed The Sanitizer interface is exposed on the global scope. exists
sanitizer-constructor-accepts-config The Sanitizer constructor accepts an optional SanitizerConfig. script
element-sethtml-exists Element.prototype.setHTML is the safe sanitised HTML insertion entry point. script
element-sethtml-strips-script element.setHTML("<p>ok</p><script>evil</script>") strips the <script> element when the default sanitiser is applied. script
element-sethtmlunsafe-exists Element.prototype.setHTMLUnsafe is exposed for the unsanitised opt-in path. script
document-parsehtml-exists Document.parseHTML is the static factory that returns a fully sanitised Document. typeof
sanitizer-get-config-returns-object Sanitizer.prototype.get() returns the current configuration as an object. script