Index: third_party/WebKit/LayoutTests/external/wpt/media-capabilities/idlharness.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/media-capabilities/idlharness.html b/third_party/WebKit/LayoutTests/external/wpt/media-capabilities/idlharness.html |
index 52c555659ecf5c0c770614f1cec4089d193f119e..3efe5a644883f67f3e6600c7b3622231849eea79 100644 |
--- a/third_party/WebKit/LayoutTests/external/wpt/media-capabilities/idlharness.html |
+++ b/third_party/WebKit/LayoutTests/external/wpt/media-capabilities/idlharness.html |
@@ -24,13 +24,19 @@ interface WorkerNavigator { |
</pre> |
<pre id='idl'> |
dictionary MediaConfiguration { |
- required MediaConfigurationType type; |
- |
VideoConfiguration video; |
AudioConfiguration audio; |
}; |
-enum MediaConfigurationType { |
+dictionary MediaDecodingConfiguration : MediaConfiguration { |
+ required MediaDecodingType type; |
+}; |
+ |
+dictionary MediaEncodingConfiguration : MediaConfiguration { |
+ required MediaEncodingType type; |
+}; |
+ |
+enum MediaDecodingType { |
"file", |
"media-source", |
}; |
@@ -68,7 +74,8 @@ partial interface WorkerNavigator { |
[Exposed=(Window, Worker)] |
interface MediaCapabilities { |
- Promise<MediaCapabilitiesInfo> decodingInfo(MediaConfiguration configuration); |
+ Promise<MediaCapabilitiesInfo> decodingInfo(MediaDecodingConfiguration configuration); |
+ Promise<MediaCapabilitiesInfo> encodingInfo(MediaEncodingConfiguration configuration); |
}; |
</pre> |
<script> |