Skip to content

Commit f67d321

Browse files
Add missing Sanitizer API (#3694)
Co-authored-by: Michael Hoffman <[email protected]>
1 parent 6d7c0a6 commit f67d321

File tree

1 file changed

+12
-0
lines changed
  • microsoft-edge/web-platform/release-notes

1 file changed

+12
-0
lines changed

microsoft-edge/web-platform/release-notes/145.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ To stay up-to-date and get the latest web platform features, download a preview
3333
* [Overscroll effect on nested scroll containers](#overscroll-effect-on-nested-scroll-containers)
3434
* [Web APIs](#web-apis)
3535
* [Origin API](#origin-api)
36+
* [Sanitizer API](#sanitizer-api)
3637
* [PerformanceEntry presentationTime and paintTime properties](#performanceentry-painttime-and-presentationtime-properties)
3738
* [Require sticky user activation or permission for clipboardchange events](#require-sticky-user-activation-or-permission-for-clipboardchange-events)
3839
* [onanimationcancel event handler](#onanimationcancel-event-handler)
@@ -221,6 +222,17 @@ See also:
221222
* [The Origin interface](https://html.spec.whatwg.org/multipage/browsers.html#the-origin-interface)
222223

223224

225+
<!-- ------------------------------ -->
226+
#### Sanitizer API
227+
228+
The Sanitizer API parses and inserts HTML into the DOM in a way that can prevent cross-site scripting attacks.
229+
230+
The Sanitizer API is useful in cases where user input sanitization is necessary, but hard to implement correctly. The API offers a high-quality sanitization process with a default behavior that can be customized if necessary, improving the security of your web application.
231+
232+
See also:
233+
* [HTML Sanitizer API](https://developer.mozilla.org/docs/Web/API/HTML_Sanitizer_API) at MDN.
234+
235+
224236
<!-- ------------------------------ -->
225237
#### PerformanceEntry `paintTime` and `presentationTime` properties
226238

0 commit comments

Comments
 (0)