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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE WARNING: Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture. 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. 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 3 END OF TEST
6 Check if the autoplay gesture override experiment works. There are a lot 4 Check if the autoplay gesture override experiment works. There are a lot
7 of config options, so this test just runs all of them. 5 of config options, so this test just runs all of them.
8 6
9 The "results" table contains one row per config tested. 7 The "results" table contains one row per config tested.
10 == Test Inputs == 8 == Test Inputs ==
11 # - config number, in case you'd like to run just one. 9 # - config number, in case you'd like to run just one.
12 Flags - autoplay experiment setting being tested. 10 Flags - autoplay experiment setting being tested.
13 a - "foraudio" 11 a - "foraudio"
14 v - "forvideo" 12 v - "forvideo"
15 V - "ifviewport" 13 V - "ifviewport"
16 P - "ifpagevisible" 14 P - "ifpagevisible"
17 M - "ifmuted" 15 M - "ifmuted"
18 p - "playmuted" 16 p - "playmuted"
19 m - "ifmobile" 17 m - "ifmobile"
20 For example, vM means '-forvideo-ifmuted". 18 For example, vM means '-forvideo-ifmuted".
21 Type - audio or video element? 19 Type - audio or video element?
22 audio - 20 audio -
23 # Flags Type Play w/ Mute Mobile View Setting Early? Played? Muted? 21 # Flags Type Play w/ Mute Mobile View Setting Early? Played? Muted?
24 28 audio attr no no scroll enabled no no - 22 28 audio attr no no scroll enabled no no -
25 30 a audio attr no no scroll enabled yes played unmuted 23 30 a audio attr no no scroll enabled yes played unmuted
26 31» aV» audio» attr» no» no» scroll» enabled»no» played» unmuted 24 31» aV» audio» attr» no» no» scroll» enabled»yes» played» unmuted
27 32 audio play() no no scroll enabled no no - 25 32 audio play() no no scroll enabled no no -
28 34 a audio play() no no scroll enabled yes played unmuted 26 34 a audio play() no no scroll enabled yes played unmuted
29 35» aV» audio» play()» no» no» scroll» enabled»no» played» unmuted 27 35» aV» audio» play()» no» no» scroll» enabled»yes» played» unmuted
OLDNEW
« 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