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

Unified Diff: LayoutTests/media/controls-restrained-media-controller-expected.html

Issue 262463003: Sync "restrained media controller" with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test Created 6 years, 3 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
« no previous file with comments | « LayoutTests/media/controls-restrained-media-controller.html ('k') | Source/core/html/MediaController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/controls-restrained-media-controller-expected.html
diff --git a/LayoutTests/media/video-webkit-appearance-expected.html b/LayoutTests/media/controls-restrained-media-controller-expected.html
similarity index 50%
copy from LayoutTests/media/video-webkit-appearance-expected.html
copy to LayoutTests/media/controls-restrained-media-controller-expected.html
index 75d747edbb9dd6e40e45240a4a54aef799ada416..1b3508b0b9f927d8945707668a17df9ba079c44c 100644
--- a/LayoutTests/media/video-webkit-appearance-expected.html
+++ b/LayoutTests/media/controls-restrained-media-controller-expected.html
@@ -1,14 +1,14 @@
<!DOCTYPE html>
-<title>video with -webkit-appearance media-play-button</title>
+<title>controls of a non-blocked media element slaved to a media controller</title>
<script src="media-file.js"></script>
-<video></video>
+<video controls></video>
<script>
-var video = document.querySelector('video');
+var video = document.querySelector('video[controls]');
video.src = findMediaFile('video', 'content/test');
if (window.testRunner) {
testRunner.waitUntilDone();
- video.addEventListener('loadedmetadata', function() {
+ video.addEventListener('canplay', function() {
testRunner.notifyDone();
});
}
« no previous file with comments | « LayoutTests/media/controls-restrained-media-controller.html ('k') | Source/core/html/MediaController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698