Index: LayoutTests/media/video-autoplay-experiment-expected.txt |
diff --git a/LayoutTests/media/video-autoplay-experiment-expected.txt b/LayoutTests/media/video-autoplay-experiment-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e6073f42db008d378cfddca752bab2721e0f1fa6 |
--- /dev/null |
+++ b/LayoutTests/media/video-autoplay-experiment-expected.txt |
@@ -0,0 +1,159 @@ |
+CONSOLE WARNING: Failed to execute 'play' on 'HTMLMediaElement': API 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 WARNING: Failed to execute 'play' on 'HTMLMediaElement': API 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 WARNING: Failed to execute 'play' on 'HTMLMediaElement': API 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 WARNING: Failed to execute 'play' on 'HTMLMediaElement': API 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 WARNING: Failed to execute 'play' on 'HTMLMediaElement': API 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 WARNING: Failed to execute 'play' on 'HTMLMediaElement': API 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 WARNING: Failed to execute 'play' on 'HTMLMediaElement': API 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 WARNING: Failed to execute 'play' on 'HTMLMediaElement': API 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 WARNING: Failed to execute 'play' on 'HTMLMediaElement': API 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 WARNING: Failed to execute 'play' on 'HTMLMediaElement': API 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. |
+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. |
+ |
+ The "results" table contains one row per config tested. |
+ == Test Inputs == |
+ # - config number, in case you'd like to run just one. |
+ Exp - autoplay experiment setting being tested. |
+ A-play - how is autoplay requested? |
+ none - autoplay is not requested. |
+ attr - autoplay attribute is set on the element. |
+ js - play() called after media is ready to play. |
+ Mute - how is media muted? |
+ none - media is not muted. |
+ attr - muted attribute is set on the element. |
+ js - muted property is set after media is ready to play. |
+ Vis - is media visible? |
+ onscreen - element starts out onscreen. |
+ scroll - element starts offscreen, scrolled into view once |
+ it is ready to play. |
+ offscreen - element starts out offscreen and stays offscreen. |
+ |
+ == Test Outputs == |
+ Early? - did playback start before element was scrolled onscreen? For |
+ tests in which Vis!=scroll, this is reported as "-". |
+ Played? - did playback start by the conclusion of the test? |
+ Muted? - was the media muted? If the media didn't play, then this is |
+ reported as "-". |
+ |
+# Exp A-play Mute Vis Early? Played? Muted? |
+0 none none none onscree - no - |
+1 always none none onscree - no - |
+2 if-mute none none onscree - no - |
+3 play-mu none none onscree - no - |
+4 none attr none onscree - no - |
+5 always attr none onscree - played unmuted |
+6 if-mute attr none onscree - no - |
+7 play-mu attr none onscree - played muted |
+8 none js none onscree - no - |
+9 always js none onscree - played unmuted |
+10 if-mute js none onscree - no - |
+11 play-mu js none onscree - played muted |
+12 none none attr onscree - no - |
+13 always none attr onscree - no - |
+14 if-mute none attr onscree - no - |
+15 play-mu none attr onscree - no - |
+16 none attr attr onscree - no - |
+17 always attr attr onscree - played muted |
+18 if-mute attr attr onscree - played muted |
+19 play-mu attr attr onscree - played muted |
+20 none js attr onscree - no - |
+21 always js attr onscree - played muted |
+22 if-mute js attr onscree - played muted |
+23 play-mu js attr onscree - played muted |
+24 none none js onscree - no - |
+25 always none js onscree - no - |
+26 if-mute none js onscree - no - |
+27 play-mu none js onscree - no - |
+28 none attr js onscree - no - |
+29 always attr js onscree - played muted |
+30 if-mute attr js onscree - played muted |
+31 play-mu attr js onscree - played muted |
+32 none js js onscree - no - |
+33 always js js onscree - played muted |
+34 if-mute js js onscree - played muted |
+35 play-mu js js onscree - played muted |
+36 none none none scroll no no - |
+37 always none none scroll no no - |
+38 if-mute none none scroll no no - |
+39 play-mu none none scroll no no - |
+40 none attr none scroll no no - |
+41 always attr none scroll no played unmuted |
+42 if-mute attr none scroll no no - |
+43 play-mu attr none scroll no played muted |
+44 none js none scroll no no - |
+45 always js none scroll no played unmuted |
+46 if-mute js none scroll no no - |
+47 play-mu js none scroll no played muted |
+48 none none attr scroll no no - |
+49 always none attr scroll no no - |
+50 if-mute none attr scroll no no - |
+51 play-mu none attr scroll no no - |
+52 none attr attr scroll no no - |
+53 always attr attr scroll no played muted |
+54 if-mute attr attr scroll no played muted |
+55 play-mu attr attr scroll no played muted |
+56 none js attr scroll no no - |
+57 always js attr scroll no played muted |
+58 if-mute js attr scroll no played muted |
+59 play-mu js attr scroll no played muted |
+60 none none js scroll no no - |
+61 always none js scroll no no - |
+62 if-mute none js scroll no no - |
+63 play-mu none js scroll no no - |
+64 none attr js scroll no no - |
+65 always attr js scroll no played muted |
+66 if-mute attr js scroll no played muted |
+67 play-mu attr js scroll no played muted |
+68 none js js scroll no no - |
+69 always js js scroll no played muted |
+70 if-mute js js scroll no played muted |
+71 play-mu js js scroll no played muted |
+72 none none none offscre - no - |
+73 always none none offscre - no - |
+74 if-mute none none offscre - no - |
+75 play-mu none none offscre - no - |
+76 none attr none offscre - no - |
+77 always attr none offscre - no - |
+78 if-mute attr none offscre - no - |
+79 play-mu attr none offscre - no - |
+80 none js none offscre - no - |
+81 always js none offscre - no - |
+82 if-mute js none offscre - no - |
+83 play-mu js none offscre - no - |
+84 none none attr offscre - no - |
+85 always none attr offscre - no - |
+86 if-mute none attr offscre - no - |
+87 play-mu none attr offscre - no - |
+88 none attr attr offscre - no - |
+89 always attr attr offscre - no - |
+90 if-mute attr attr offscre - no - |
+91 play-mu attr attr offscre - no - |
+92 none js attr offscre - no - |
+93 always js attr offscre - no - |
+94 if-mute js attr offscre - no - |
+95 play-mu js attr offscre - no - |
+96 none none js offscre - no - |
+97 always none js offscre - no - |
+98 if-mute none js offscre - no - |
+99 play-mu none js offscre - no - |
+100 none attr js offscre - no - |
+101 always attr js offscre - no - |
+102 if-mute attr js offscre - no - |
+103 play-mu attr js offscre - no - |
+104 none js js offscre - no - |
+105 always js js offscre - no - |
+106 if-mute js js offscre - no - |
+107 play-mu js js offscre - no - |
+ |