Commit aa8f86ce authored by ddorwin's avatar ddorwin Committed by Commit bot

Switch EME content browser tests to unprefixed EME.

Prefixed EME is deprecated.

BUG=451117

Review URL: https://codereview.chromium.org/1322443005

Cr-Commit-Position: refs/heads/master@{#347832}
parent 9f6d72ee
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#endif #endif
// Available key systems. // Available key systems.
const char kClearKeyKeySystem[] = "webkit-org.w3.clearkey"; const char kClearKeyKeySystem[] = "org.w3.clearkey";
// Supported media types. // Supported media types.
const char kWebMAudioOnly[] = "audio/webm; codecs=\"vorbis\""; const char kWebMAudioOnly[] = "audio/webm; codecs=\"vorbis\"";
...@@ -83,7 +83,6 @@ class EncryptedMediaTest : public content::MediaBrowserTest, ...@@ -83,7 +83,6 @@ class EncryptedMediaTest : public content::MediaBrowserTest,
base::StringPairs query_params; base::StringPairs query_params;
query_params.push_back(std::make_pair("keySystem", CurrentKeySystem())); query_params.push_back(std::make_pair("keySystem", CurrentKeySystem()));
query_params.push_back(std::make_pair("runEncrypted", "1")); query_params.push_back(std::make_pair("runEncrypted", "1"));
query_params.push_back(std::make_pair("usePrefixedEME", "1"));
RunMediaTestPage("mse_config_change.html", query_params, kEnded, true); RunMediaTestPage("mse_config_change.html", query_params, kEnded, true);
} }
...@@ -104,7 +103,6 @@ class EncryptedMediaTest : public content::MediaBrowserTest, ...@@ -104,7 +103,6 @@ class EncryptedMediaTest : public content::MediaBrowserTest,
query_params.push_back(std::make_pair("keySystem", key_system)); query_params.push_back(std::make_pair("keySystem", key_system));
if (src_type == MSE) if (src_type == MSE)
query_params.push_back(std::make_pair("useMSE", "1")); query_params.push_back(std::make_pair("useMSE", "1"));
query_params.push_back(std::make_pair("usePrefixedEME", "1"));
RunMediaTestPage(html_page, query_params, expectation, true); RunMediaTestPage(html_page, query_params, expectation, true);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment