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

Unified Diff: third_party/WebKit/LayoutTests/media/effective-media-volume.html

Issue 1373423003: Remove MediaController (already diabled by REF) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update web-platform-tests expectations Created 5 years, 2 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/effective-media-volume.html
diff --git a/third_party/WebKit/LayoutTests/media/effective-media-volume.html b/third_party/WebKit/LayoutTests/media/effective-media-volume.html
index 48cfe22da67554d57cb563e02da968f1f5cc4ece..9904e8b53e310f0ffd4690dd832b42af51209e8a 100644
--- a/third_party/WebKit/LayoutTests/media/effective-media-volume.html
+++ b/third_party/WebKit/LayoutTests/media/effective-media-volume.html
@@ -16,25 +16,6 @@
assert_equals(internals.effectiveMediaVolume(audio),
volume * (muted ? 0 : 1));
}, "volume: " + volume + ", muted: " + muted);
-
- [0, 0.5, 1].forEach(function(controllerVolume)
- {
- [false, true].forEach(function(controllerMuted)
- {
- test(function()
- {
- var audio = new Audio();
- audio.volume = volume;
- audio.muted = muted;
- var controller = new MediaController();
- controller.volume = controllerVolume;
- controller.muted = controllerMuted;
- audio.controller = controller;
- assert_equals(internals.effectiveMediaVolume(audio),
- volume * (muted ? 0 : 1) * controllerVolume * (controllerMuted ? 0 : 1));
- }, "volume: " + volume + ", muted: " + muted + ", controller volume: " + controllerVolume + ", controller muted: " + controllerMuted);
- });
- });
});
});
</script>

Powered by Google App Engine
This is Rietveld 408576698