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

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

Issue 1920863005: Disable autoplay experiments if the autoplay content settings is set to block. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autoplay-ifsameorigin-ormuted
Patch Set: split autoplay experiment 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 unified diff | Download patch
OLDNEW
(Empty)
1 CONSOLE WARNING: Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture.
2 CONSOLE ERROR: line 71: Uncaught (in promise) NotAllowedError: play() can only b e initiated by a user gesture.
3 CONSOLE WARNING: Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture.
4 CONSOLE ERROR: line 71: Uncaught (in promise) NotAllowedError: play() can only b e initiated by a user gesture.
5 END OF TEST
6 Check if the autoplay gesture override experiment works. There are a lot
7 of config options, so this test just runs all of them.
8
9 The "results" table contains one row per config tested.
10 == Test Inputs ==
11 # - config number, in case you'd like to run just one.
12 Flags - autoplay experiment setting being tested.
13 a - "foraudio"
14 v - "forvideo"
15 V - "ifviewport"
16 P - "ifpagevisible"
17 M - "ifmuted"
18 p - "playmuted"
19 m - "ifmobile"
20 For example, vM means '-forvideo-ifmuted".
21 Type - audio or video element?
22 audio -
23 # Flags Type Play w/ Mute Mobile View Setting Early? Played? Muted?
24 28 audio attr no no scroll enabled no no -
25 30 a audio attr no no scroll enabled yes played unmuted
26 31 aV audio attr no no scroll enabled no played unmuted
27 32 audio play() no no scroll enabled no no -
28 34 a audio play() no no scroll enabled yes played unmuted
29 35 aV audio play() no no scroll enabled no played unmuted
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698