aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/DOMParser.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/DOMParser.webidl')
-rw-r--r--components/script/dom/webidls/DOMParser.webidl5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/dom/webidls/DOMParser.webidl b/components/script/dom/webidls/DOMParser.webidl
index 6381f01e449..8af1f309c78 100644
--- a/components/script/dom/webidls/DOMParser.webidl
+++ b/components/script/dom/webidls/DOMParser.webidl
@@ -1,6 +1,6 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
/*
* The origin of this IDL file is
* https://w3c.github.io/DOM-Parsing/#the-domparser-interface
@@ -14,8 +14,9 @@ enum SupportedType {
"image/svg+xml"*/
};
-[Constructor]
+[Exposed=Window]
interface DOMParser {
+ [Throws] constructor();
[Throws]
Document parseFromString(DOMString str, SupportedType type);
};