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

Unified Diff: chrome/test/data/settings/video_page.html

Issue 27635002: Content settings for <audio> and <video>. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test fix. Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/settings/video_page.html
diff --git a/chrome/test/ispy/server/views/list_view.html b/chrome/test/data/settings/video_page.html
similarity index 11%
copy from chrome/test/ispy/server/views/list_view.html
copy to chrome/test/data/settings/video_page.html
index f6b5dc6c6f6d32db11697053d6beb1648a98a88c..8873277273ddc6c40d5e0ff320c0c64eb2387aeb 100644
--- a/chrome/test/ispy/server/views/list_view.html
+++ b/chrome/test/data/settings/video_page.html
@@ -1,28 +1,20 @@
-<!DOCTYPE html>
-{% autoescape on %}
<html>
<head>
- <title>I-Spy Test Runs</title>
- <style>
- #container {
- display: table;
- background-color:#DDD;
- border: 1px solid #AAA;
- width: 400px;
- margin: 5px;
- padding: 5px;
- }
- </style>
+ <title>Play a video</title>
</head>
<body>
- <h3>Test Runs</h3>
- <div id="container">
- {% for link in links %}
- <div>
- <a href="{{ link[1] }}">{{ link[0] }}</a>
- </div>
- {% endfor %}
+ <div>
+ <video id="video"></video>
+ <script>
+ (function() {
+ var video = document.getElementById('video');
+ // This sequence delays the load event until the metadata is ready.
+ // Borrowed from the Blink test suite:
+ // third_party/WebKit/LayoutTests/media/video-delay-load-event.html
+ video.src = '../prerender/bear-320x240-video-only.webm';
+ video.load();
+ })();
+ </script>
</div>
</body>
</html>
-{% endautoescape %}

Powered by Google App Engine
This is Rietveld 408576698