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

Unified Diff: third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes.html

Issue 2510353004: Deprecating AutoplayExperimentHelper (Closed)
Patch Set: rebased Created 4 years 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
Index: third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes.html
diff --git a/third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes.html b/third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes.html
deleted file mode 100644
index 3f65d26768ef6777fe46895bfcbf14c8624dbf72..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes.html
+++ /dev/null
@@ -1,82 +0,0 @@
-<!DOCTYPE html>
-<html>
-<video autoplay controls></video>
-<script src="media-file.js"></script>
-<script src="autoplay-experiment-helper.js"></script>
-<body>
-<pre>
- 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.
- Flags - autoplay experiment setting being tested.
- a - "foraudio"
- v - "forvideo"
- V - "ifviewport"
- P - "ifpagevisible"
- M - "ifmuted"
- p - "playmuted"
- m - "ifmobile"
- For example, vM means '-forvideo-ifmuted".
- Type - audio or video element?
- audio - <audio>
- video - <video>
- Play w/- how is play requested?
- none - play is not requested.
- attr - autoplay attribute is set on the element.
- play() - play() called after media is ready to play.
- Mute - how is media muted?
- no - media is not muted.
- yes - muted attribute is set on the element.
- Mobile - is page optimized for mobile?
- no - page is not optimized for mobile.
- yes - page is optimized for mobile.
- View - is media in viewport?
- 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.
- obscured - onscreen but page is not visible.
- Setting - autoplay settings value
- enabled - content settings enables autoplay
- disabled - content settings disables autoplay
-
- == Test Outputs ==
- Early? - did playback start before element was scrolled onscreen? For
- tests in which View!=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 "-".
-
-</pre>
-<table id="results">
-<tr>
-<td>#</td>
-<td>Flags</td>
-<td>Type</td>
-<td>Play w/</td>
-<td>Mute</td>
-<td>Mobile</td>
-<td>View</td>
-<td>Setting</td>
-<td>Early?</td>
-<td>Played?</td>
-<td>Muted?</td>
-</tr>
-</table>
-</body>
-
-<script>
-
-start('video', [ 'none',
- 'enabled-forvideo',
- 'enabled-forvideo-ifpagevisible',
- 'enabled-forvideo-ifviewport-ifmuted',
- 'enabled-forvideo-ifviewport-playmuted',
- 'enabled-forvideo-ifmobile',
- 'enabled-foraudio']);
-
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698