diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-10-18 17:29:23 +0200 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-11-20 13:33:16 +0100 |
commit | b494acbf19b52feb122d7d52a84c735e6522a5f5 (patch) | |
tree | 5c0d31e14f9d68f3b4d1650b0024ba393bbcbaee | |
parent | 0bbacdda0c2d3526ba47e30f21e9b8a7846be817 (diff) | |
download | servo-b494acbf19b52feb122d7d52a84c735e6522a5f5.tar.gz servo-b494acbf19b52feb122d7d52a84c735e6522a5f5.zip |
Adapt MediaMetadata interface to new way of declaring constructors
-rw-r--r-- | components/script/dom/webidls/MediaMetadata.webidl | 4 |
1 files changed, 2 insertions, 2 deletions
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; |