diff --git a/index.bs b/index.bs
index 6468441..51bc5f6 100644
--- a/index.bs
+++ b/index.bs
@@ -1063,7 +1063,7 @@ interface MediaMetadata {
attribute DOMString title;
attribute DOMString artist;
attribute DOMString album;
- attribute FrozenArray<MediaImage> artwork;
+ attribute FrozenArray<object> artwork;
[SameObject] readonly attribute FrozenArray<ChapterInformation> chapterInfo;
};
@@ -1095,7 +1095,8 @@ dictionary MediaMetadataInit {
A {{MediaMetadata}} has an associated list of artwork
- images.
+ images which is a list of type object on the interface
+ but a list of type {{MediaImage}} internally.
@@ -1139,9 +1140,10 @@ dictionary MediaMetadataInit {
Run the convert artwork algorithm with init's
- {{MediaMetadataInit/artwork}} as input and set
- metadata's artwork images as the
- result if it succeeded.
+ {{MediaMetadataInit/artwork}} as input,
+ where the input is a list of type {{MediaImage}},
+ and set metadata's artwork images
+ as the result if it succeeded.
Let chapters be an empty list of type {{ChapterInformation}}.
@@ -1164,7 +1166,8 @@ dictionary MediaMetadataInit {
When the convert artwork algorithm with input parameter is
-invoked, the user agent MUST run the following steps:
+invoked, where the input is a list of type {{MediaImage}},
+the user agent MUST run the following steps:
-
Let output be an empty list of type {{MediaImage}}.
@@ -1230,7 +1233,7 @@ invoked, the user agent MUST run the following steps:
images. On getting, it MUST return the result of the following steps:
-
- Let frozenArtwork be an empty list of type {{MediaImage}}.
+ Let frozenArtwork be an empty list of type object.
-
For each entry in the {{MediaMetadata}}'s image's {{MediaImage/type}} to entry's
{{MediaImage/type}}.
+ -
+ Convert image into an object
+ whose type is object.
+