aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_bindings/webidls/Document.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script_bindings/webidls/Document.webidl')
-rw-r--r--components/script_bindings/webidls/Document.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script_bindings/webidls/Document.webidl b/components/script_bindings/webidls/Document.webidl
index 6131dbd15c7..4af7dcc2c7a 100644
--- a/components/script_bindings/webidls/Document.webidl
+++ b/components/script_bindings/webidls/Document.webidl
@@ -129,9 +129,9 @@ partial /*sealed*/ interface Document {
[CEReactions, Throws]
undefined close();
[CEReactions, Throws]
- undefined write(DOMString... text);
+ undefined write((TrustedHTML or DOMString)... text);
[CEReactions, Throws]
- undefined writeln(DOMString... text);
+ undefined writeln((TrustedHTML or DOMString)... text);
// user interaction
readonly attribute Window?/*Proxy?*/ defaultView;