summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/android/pylib/gtest/filter/content_browsertests_disabled3
-rw-r--r--content/browser/media/encrypted_media_browsertest.cc16
2 files changed, 7 insertions, 12 deletions
diff --git a/build/android/pylib/gtest/filter/content_browsertests_disabled b/build/android/pylib/gtest/filter/content_browsertests_disabled
index 7c96373..e7cb99a 100644
--- a/build/android/pylib/gtest/filter/content_browsertests_disabled
+++ b/build/android/pylib/gtest/filter/content_browsertests_disabled
@@ -2,10 +2,13 @@
# Timeouts
Http/MediaTest.*
File/MediaTest.*
+ExternalClearKey/EncryptedMediaTest.*
+ClearKey/EncryptedMediaTest.*
WorkerTest.*
MediaTest.*
WebGLConformanceTest.*
MessagePortTest.Tests
+EncryptedMediaTest.*
CrossPlatformAccessibilityBrowserTest.*
DatabaseTest.*
ResourceDispatcherHostBrowserTest.SyncXMLHttpRequest_DuringUnload
diff --git a/content/browser/media/encrypted_media_browsertest.cc b/content/browser/media/encrypted_media_browsertest.cc
index 8f30094..c68daf7 100644
--- a/content/browser/media/encrypted_media_browsertest.cc
+++ b/content/browser/media/encrypted_media_browsertest.cc
@@ -104,17 +104,9 @@ class EncryptedMediaTest : public content::MediaBrowserTest,
#endif
};
-using ::testing::Combine;
-using ::testing::Values;
-
-#if !defined(OS_ANDROID)
-// Encrypted media playback with SRC is not supported on Android.
-INSTANTIATE_TEST_CASE_P(SRC_ClearKey, EncryptedMediaTest,
- Combine(Values(kClearKeyKeySystem), Values(SRC)));
-#endif // defined(OS_ANDROID)
-
-INSTANTIATE_TEST_CASE_P(MSE_ClearKey, EncryptedMediaTest,
- Combine(Values(kClearKeyKeySystem), Values(MSE)));
+INSTANTIATE_TEST_CASE_P(ClearKey, EncryptedMediaTest,
+ ::testing::Combine(
+ ::testing::Values(kClearKeyKeySystem), ::testing::Values(SRC, MSE)));
IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, Playback_AudioOnly_WebM) {
TestSimplePlayback("bear-a-enc_a.webm", kWebMAudioOnly);
@@ -151,7 +143,7 @@ IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, FrameSizeChangeVideo) {
IN_PROC_BROWSER_TEST_F(EncryptedMediaTest, UnknownKeySystemThrowsException) {
RunEncryptedMediaTest("encrypted_media_player.html", "bear-a-enc_a.webm",
- kWebMAudioOnly, "com.example.foo", MSE,
+ kWebMAudioOnly, "com.example.foo", SRC,
kEmeGkrException);
}