[go: nahoru, domu]

media: Add EME robustness tests

Add tests covering Widevine robustness strings in
EncryptedMediaSupportedTypesWidevineTest.

Details:
- Pass audioCapabilities and videoCapabilities to JavaScript.
- Add support of robustness string in the test framework.
- Add robustness tests for all 3 key systems.
- Fix the C++ test code to use C++ naming style.
- Use base::StringPrintf to simplify string generation.

BUG=540769
TEST=This CL only adds tests.

Change-Id: Ie635f03dd6c6c4736bd21dc9efb9323d875a574a
Reviewed-on: https://chromium-review.googlesource.com/861333
Reviewed-by: John Rummell <jrummell@chromium.org>
Commit-Queue: Xiaohan Wang <xhwang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#528777}
2 files changed