diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/sanitizer_api/element_sanitizer.idl')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/sanitizer_api/element_sanitizer.idl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/sanitizer_api/element_sanitizer.idl b/chromium/third_party/blink/renderer/modules/sanitizer_api/element_sanitizer.idl new file mode 100644 index 00000000000..b75fa2e1cf6 --- /dev/null +++ b/chromium/third_party/blink/renderer/modules/sanitizer_api/element_sanitizer.idl @@ -0,0 +1,13 @@ +// Copyright 2021 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// https://github.com/WICG/sanitizer-api + +[ + RuntimeEnabled=SanitizerAPI, + ImplementedAs=ElementSanitizer +] partial interface Element { + [CEReactions, RaisesException, CallWith=ScriptState, MeasureAs=SanitizerAPIElementSetSanitized] void setHTML(DOMString markup, Sanitizer sanitizer); +}; + |