diff --git a/index.bs b/index.bs index 1159633..623a832 100644 --- a/index.bs +++ b/index.bs @@ -109,7 +109,7 @@ markup, and an optional configuration.
partial interface Element { - [CEReactions] undefined setHTMLUnsafe(HTMLString html, optional SetHTMLOptions options = {}); + [CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html, optional SetHTMLOptions options = {}); [CEReactions] undefined setHTML(DOMString html, optional SetHTMLOptions options = {}); };@@ -117,9 +117,11 @@ partial interface Element {
partial interface ShadowRoot { - [CEReactions] undefined setHTMLUnsafe(HTMLString html, optional SetHTMLOptions options = {}); + [CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html, optional SetHTMLOptions options = {}); [CEReactions] undefined setHTML(DOMString html, optional SetHTMLOptions options = {}); };@@ -144,9 +146,11 @@ These methods are mirrored on the {{ShadowRoot}}:
partial interface Document { - static Document parseHTMLUnsafe(HTMLString html, optional SetHTMLOptions options = {}); + static Document parseHTMLUnsafe((TrustedHTML or DOMString) html, optional SetHTMLOptions options = {}); static Document parseHTML(DOMString html, optional SetHTMLOptions options = {}); };@@ -170,11 +174,13 @@ partial interface Document {