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

Side by Side Diff: LayoutTests/media/video-autoplay-experiment-expected.txt

Issue 1179223002: Implement autoplay gesture override experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed comments and names. Created 5 years, 4 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 WARNING: Failed to execute 'play' on 'HTMLMediaElement': API can only be 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 WARNING: Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture.
5 CONSOLE WARNING: Failed to execute 'play' on 'HTMLMediaElement': API can only be initiated by a user gesture.
6 END OF TEST
7 Check if the autoplay gesture override experiment works. There are a lot
8 of config options, so this test just runs all of them.
9
10 The "results" table contains one row per config tested.
11 == Test Inputs ==
12 # - config number, in case you'd like to run just one.
13 Flags - autoplay experiment setting being tested.
14 E - "enabled" in command line.
15 V - "-ifviewport"
16 M - "-ifmuted"
17 p - "-playmuted"
18 For example, EVM means "enabled-ifviewport-ifmuted".
19 This test does not check -ifmobile since that check always
20 fails outside of android.
21 Play w/- how is play requested?
22 none - play is not requested.
23 attr - autoplay attribute is set on the element.
24 play() - play() called after media is ready to play.
25 Mute - how is media muted?
26 none - media is not muted.
27 attr - muted attribute is set on the element.
28 js - muted property is set after media is ready to play.
29 View - is media in viewport?
30 onscreen - element starts out onscreen.
31 scroll - element starts offscreen, scrolled into view once
32 it is ready to play.
33 offscreen - element starts out offscreen and stays offscreen.
34
35 == Test Outputs ==
36 Early? - did playback start before element was scrolled onscreen? For
37 tests in which View!=scroll, this is reported as "-".
38 Played? - did playback start by the conclusion of the test?
39 Muted? - was the media muted? If the media didn't play, then this is
40 reported as "-".
41
42 # Flags Play w/ Mute View Early? Played? Muted?
43 0 none none onscree - no -
44 1 E none none onscree - no -
45 2 EV none none onscree - no -
46 3 EVM none none onscree - no -
47 4 EVp none none onscree - no -
48 5 attr none onscree - no -
49 6 E attr none onscree - played unmuted
50 7 EV attr none onscree - played unmuted
51 8 EVM attr none onscree - no -
52 9 EVp attr none onscree - played muted
53 10 play() none onscree - no -
54 11 E play() none onscree - played unmuted
55 12 EV play() none onscree - played unmuted
56 13 EVM play() none onscree - no -
57 14 EVp play() none onscree - played muted
58 18 EVM none attr onscree - no -
59 23 EVM attr attr onscree - played muted
60 28 EVM play() attr onscree - played muted
61 33 EVM none js onscree - no -
62 38 EVM attr js onscree - played muted
63 43 EVM play() js onscree - played muted
64 50 attr none scroll no no -
65 51 E attr none scroll yes played unmuted
66 52 EV attr none scroll no played unmuted
67 54 EVp attr none scroll no played muted
68 55 play() none scroll no no -
69 56 E play() none scroll yes played unmuted
70 57 EV play() none scroll no played unmuted
71 59 EVp play() none scroll no played muted
72 95 attr none offscre - no -
73 96 E attr none offscre - played unmuted
74 97 EV attr none offscre - no -
75 99 EVp attr none offscre - no -
76
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698