diff --git a/components/script/dom/webidls/MediaMetadata.webidl b/components/script/dom/webidls/MediaMetadata.webidl index b4142e431ae..495aeef8e35 100644 --- a/components/script/dom/webidls/MediaMetadata.webidl +++ b/components/script/dom/webidls/MediaMetadata.webidl @@ -12,9 +12,9 @@ dictionary MediaImage { DOMString type = ""; }; -[Exposed=Window, - Constructor(optional MediaMetadataInit init = {})] +[Exposed=Window] interface MediaMetadata { + [Throws] constructor(optional MediaMetadataInit init = {}); attribute DOMString title; attribute DOMString artist; attribute DOMString album;