Index: third_party/WebKit/Source/modules/mediacapabilities/MediaCapabilities.idl |
diff --git a/third_party/WebKit/Source/modules/mediacapabilities/MediaCapabilities.idl b/third_party/WebKit/Source/modules/mediacapabilities/MediaCapabilities.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..59ca26ddc3fd32aa72799160745bc8ff21b2f2cf |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/mediacapabilities/MediaCapabilities.idl |
@@ -0,0 +1,12 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://wicg.github.io/media-capabilities/#mediacapabilities |
+ |
+[ |
+ Exposed=(Window, Worker), |
chcunningham
2017/02/13 19:31:07
MSE and EME have not been exposed to workers. Ther
wolenetz
2017/02/13 22:33:24
+mlamouri@ and ddorwin@ w.r.t. workers and HTMLMed
mlamouri (slow - plz ping)
2017/02/13 22:58:25
This isn't implemented for workers. This only mean
|
+ RuntimeEnabled=MediaCapabilities |
+] interface MediaCapabilities { |
+ [CallWith=ScriptState] Promise<MediaDecodingAbility> query(MediaConfiguration configuration); |
+}; |