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

Unified Diff: third_party/WebKit/LayoutTests/media/controls-cast-do-not-fade-out.html

Issue 2846713002: [Media] Added feature flag for new remote playback pipeline (Closed)
Patch Set: Fixed failing layout tests Created 3 years, 8 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: third_party/WebKit/LayoutTests/media/controls-cast-do-not-fade-out.html
diff --git a/third_party/WebKit/LayoutTests/media/controls-cast-do-not-fade-out.html b/third_party/WebKit/LayoutTests/media/controls-cast-do-not-fade-out.html
deleted file mode 100644
index 6d608be104e63dfdd61e93bf728ce06f18ac64ca..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/controls-cast-do-not-fade-out.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE html>
-<title>This tests that controls do not fade out when the video is playing remotely.</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="media-file.js"></script>
-<script src="media-controls.js"></script>
-<video controls loop></video>
-<script>
-async_test(function(t) {
- var video = document.querySelector("video");
- video.src = findMediaFile("video", "content/test");
-
- video.onplaying = t.step_func(function() {
- internals.mediaPlayerPlayingRemotelyChanged(video, true);
- runAfterHideMediaControlsTimerFired(function() {
- var controls = mediaControlsButton(video, "panel");
- assert_equals(getComputedStyle(controls).opacity, "1");
-
- internals.mediaPlayerPlayingRemotelyChanged(video, false);
- runAfterHideMediaControlsTimerFired(function() {
- assert_equals(getComputedStyle(controls).opacity, "0");
- t.done();
- }, video);
- }, video);
- });
-
- video.play();
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698