aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/Comment.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/Comment.webidl')
-rw-r--r--components/script/dom/webidls/Comment.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/Comment.webidl b/components/script/dom/webidls/Comment.webidl
index e0a6c3aecf9..59b9f78cdf4 100644
--- a/components/script/dom/webidls/Comment.webidl
+++ b/components/script/dom/webidls/Comment.webidl
@@ -9,6 +9,6 @@
* liability, trademark and document use rules apply.
*/
-[Constructor(optional DOMString data = "")]
interface Comment : CharacterData {
+ [Throws] constructor(optional DOMString data = "");
};