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

Unified Diff: third_party/WebKit/LayoutTests/media/audio-autoplay-experiment-modes-expected.txt

Issue 1931363002: Autoplay experiment: ignore viewport visibility requirements for audio. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autoplay-htmlmedialement
Patch Set: update tests Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/audio-autoplay-experiment-modes-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/audio-autoplay-experiment-modes-expected.txt b/third_party/WebKit/LayoutTests/media/audio-autoplay-experiment-modes-expected.txt
index db6a01306de2c18052c96afc82c71d4a828a6539..e46c89391e984444712f5cbb57ba7fa191d2c840 100644
--- a/third_party/WebKit/LayoutTests/media/audio-autoplay-experiment-modes-expected.txt
+++ b/third_party/WebKit/LayoutTests/media/audio-autoplay-experiment-modes-expected.txt
@@ -1,7 +1,5 @@
CONSOLE WARNING: Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture.
CONSOLE ERROR: line 71: Uncaught (in promise) NotAllowedError: play() can only be initiated by a user gesture.
-CONSOLE WARNING: Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture.
-CONSOLE ERROR: line 71: Uncaught (in promise) NotAllowedError: play() can only be initiated by a user gesture.
END OF TEST
Check if the autoplay gesture override experiment works. There are a lot
of config options, so this test just runs all of them.
@@ -23,7 +21,7 @@ END OF TEST
# Flags Type Play w/ Mute Mobile View Setting Early? Played? Muted?
28 audio attr no no scroll enabled no no -
30 a audio attr no no scroll enabled yes played unmuted
-31 aV audio attr no no scroll enabled no played unmuted
+31 aV audio attr no no scroll enabled yes played unmuted
32 audio play() no no scroll enabled no no -
34 a audio play() no no scroll enabled yes played unmuted
-35 aV audio play() no no scroll enabled no played unmuted
+35 aV audio play() no no scroll enabled yes played unmuted
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698