diff options
Diffstat (limited to 'components/script_bindings/webidls/HTMLScriptElement.webidl')
-rw-r--r-- | components/script_bindings/webidls/HTMLScriptElement.webidl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/components/script_bindings/webidls/HTMLScriptElement.webidl b/components/script_bindings/webidls/HTMLScriptElement.webidl index 6f02bb3cf47..2c7b398b7e3 100644 --- a/components/script_bindings/webidls/HTMLScriptElement.webidl +++ b/components/script_bindings/webidls/HTMLScriptElement.webidl @@ -21,8 +21,12 @@ interface HTMLScriptElement : HTMLElement { attribute boolean defer; [CEReactions] attribute DOMString? crossOrigin; - [CEReactions, Pure] - attribute DOMString text; + [CEReactions, SetterThrows] + attribute (TrustedScript or DOMString) innerText; + [CEReactions, Pure, SetterThrows] + attribute (TrustedScript or DOMString) text; + [CEReactions, SetterThrows] + attribute (TrustedScript or DOMString)? textContent; [CEReactions] attribute DOMString integrity; [CEReactions] |