aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/Document.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/Document.webidl')
-rw-r--r--components/script/dom/webidls/Document.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/Document.webidl b/components/script/dom/webidls/Document.webidl
index f7b8eea0434..04109960ce9 100644
--- a/components/script/dom/webidls/Document.webidl
+++ b/components/script/dom/webidls/Document.webidl
@@ -8,8 +8,8 @@
*/
// https://dom.spec.whatwg.org/#interface-document
-[Constructor]
interface Document : Node {
+ [Throws] constructor();
[SameObject]
readonly attribute DOMImplementation implementation;
[Constant]