summaryrefslogtreecommitdiff
path: root/dom/webidl/HTMLAudioElement.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/HTMLAudioElement.webidl')
-rw-r--r--dom/webidl/HTMLAudioElement.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/webidl/HTMLAudioElement.webidl b/dom/webidl/HTMLAudioElement.webidl
index 8537453c0c..7256698394 100644
--- a/dom/webidl/HTMLAudioElement.webidl
+++ b/dom/webidl/HTMLAudioElement.webidl
@@ -11,6 +11,6 @@
* and create derivative works of this document.
*/
-[NamedConstructor=Audio(optional DOMString src)]
+[HTMLConstructor, NamedConstructor=Audio(optional DOMString src)]
interface HTMLAudioElement : HTMLMediaElement {};