aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_bindings/webidls/HTMLIFrameElement.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script_bindings/webidls/HTMLIFrameElement.webidl')
-rw-r--r--components/script_bindings/webidls/HTMLIFrameElement.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script_bindings/webidls/HTMLIFrameElement.webidl b/components/script_bindings/webidls/HTMLIFrameElement.webidl
index 8ba58a20f33..b083f51c0f1 100644
--- a/components/script_bindings/webidls/HTMLIFrameElement.webidl
+++ b/components/script_bindings/webidls/HTMLIFrameElement.webidl
@@ -9,8 +9,8 @@ interface HTMLIFrameElement : HTMLElement {
[CEReactions]
attribute USVString src;
- [CEReactions]
- attribute DOMString srcdoc;
+ [CEReactions, SetterThrows]
+ attribute (TrustedHTML or DOMString) srcdoc;
[CEReactions]
attribute DOMString name;