Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1499)

Unified Diff: content/browser/media/media_source_browsertest.cc

Issue 642813012: Reland "Add unprefixed EME tests for LoadSession()" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/media/media_source_browsertest.cc
diff --git a/content/browser/media/media_source_browsertest.cc b/content/browser/media/media_source_browsertest.cc
index 6283682bd0cbc641ce95be735eaff0c9aa5db4d9..684b37d65052ea71ee3312e45b2e55b40a5d6fd7 100644
--- a/content/browser/media/media_source_browsertest.cc
+++ b/content/browser/media/media_source_browsertest.cc
@@ -43,6 +43,7 @@ class MediaSourceTest : public content::MediaBrowserTest {
base::StringPairs query_params;
query_params.push_back(std::make_pair("mediaFile", media_file));
query_params.push_back(std::make_pair("mediaType", media_type));
+ query_params.push_back(std::make_pair("usePrefixedEME", "1"));
RunMediaTestPage("media_source_player.html", query_params, expectation,
true);
}
@@ -85,10 +86,9 @@ IN_PROC_BROWSER_TEST_F(MediaSourceTest, ConfigChangeVideo) {
VLOG(0) << "Skipping test - MSE not supported.";
return;
}
- RunMediaTestPage("mse_config_change.html",
- base::StringPairs(),
- kEnded,
- true);
+ base::StringPairs query_params;
+ query_params.push_back(std::make_pair("usePrefixedEME", "1"));
+ RunMediaTestPage("mse_config_change.html", query_params, kEnded, true);
}
} // namespace content
« no previous file with comments | « content/browser/media/encrypted_media_browsertest.cc ('k') | media/cdm/ppapi/external_clear_key/clear_key_cdm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698