Chromium Code Reviews| Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.idl |
| diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.idl b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.idl |
| index 066dd729c56823025cb1e3482d60b097177c249e..f6f363fb09ed614e63aedbbfb92a13050c648b5b 100644 |
| --- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.idl |
| +++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeyStatusMap.idl |
| @@ -14,8 +14,9 @@ enum MediaKeyStatus { |
| "internal-error" |
| }; |
| -[ |
| -] interface MediaKeyStatusMap { |
| +interface MediaKeyStatusMap { |
| + iterable <BufferSource, MediaKeyStatus>; |
|
ddorwin
2016/06/14 20:56:05
Is this not readonly like the maplike was? The spe
jrummell
2016/06/14 22:24:21
According to https://heycam.github.io/webidl/#idl-
ddorwin
2016/06/14 22:56:40
Acknowledged. Thanks for checking.
|
| readonly attribute unsigned long size; |
| - readonly maplike <BufferSource, MediaKeyStatus>; |
| + boolean has(BufferSource keyId); |
| + [CallWith=ScriptState] any get(BufferSource keyId); |
| }; |