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

Unified Diff: components/test_runner/layout_test_runtime_flags.cc

Issue 1926773002: TestRunner: add method to instrument autoplay settings and set default value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autoplay-htmlmedialement
Patch Set: fix tests Created 4 years, 8 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: components/test_runner/layout_test_runtime_flags.cc
diff --git a/components/test_runner/layout_test_runtime_flags.cc b/components/test_runner/layout_test_runtime_flags.cc
index c9d530fa18bcf4cc24036836c853e48a958463cc..0488e55a123f06a316cba421453138093ce6db07 100644
--- a/components/test_runner/layout_test_runtime_flags.cc
+++ b/components/test_runner/layout_test_runtime_flags.cc
@@ -42,6 +42,7 @@ void LayoutTestRuntimeFlags::Reset() {
set_plugins_allowed(true);
set_displaying_insecure_content_allowed(false);
set_running_insecure_content_allowed(false);
+ set_autoplay_allowed(true);
set_dump_editting_callbacks(false);
set_dump_frame_load_callbacks(false);
« no previous file with comments | « components/test_runner/layout_test_runtime_flags.h ('k') | components/test_runner/mock_content_settings_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698