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

Unified Diff: third_party/WebKit/LayoutTests/media/media-audio-no-spurious-repaints.html

Issue 2343713003: Fix under-invalidation of media slider thumb when network state changes (Closed)
Patch Set: - Created 4 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 | « no previous file | third_party/WebKit/LayoutTests/media/media-audio-no-spurious-repaints-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/media-audio-no-spurious-repaints.html
diff --git a/third_party/WebKit/LayoutTests/media/media-audio-no-spurious-repaints.html b/third_party/WebKit/LayoutTests/media/media-audio-no-spurious-repaints.html
deleted file mode 100644
index 265d553876edb34ed71553f25055b81f3008608e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/media-audio-no-spurious-repaints.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!doctype html>
-<title>Verifies there are no spurious repaints for audio in a video tag.</title>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<video></video>
-<script>
-async_test(function(t) {
- var video = document.querySelector('video');
-
- video.addEventListener('canplaythrough', t.step_func(function() {
- internals.startTrackingRepaints(document);
- video.play();
- }), false);
-
- video.addEventListener('ended', t.step_func(function() {
- var layerTree = internals.layerTreeAsText(
- document, internals.LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS);
- var repaintRects = JSON.parse(layerTree).children[0].repaintRects;
- internals.stopTrackingRepaints(document);
-
- // Manually verify the number of repaints instead of using a repaint
- // test since media playback is asynchronous by nature and its threading
- // will cause a variance in the number of repaints on test bots.
- var minExpected = 3, maxExpected = 4, expectedRect = [8, 8, 300, 150];
-
- t.add_cleanup(function() {
- if (t.status == t.PASS)
- return;
- console.log('FAIL! An unexpected number of repaints occurred;' +
- ' expected ' + minExpected + ' to ' + maxExpected +
- ' with rects of [' + expectedRect.join(', ') + '].' +
- ' Actual layer tree: ' + layerTree);
- });
-
- assert_between_inclusive(repaintRects.length, minExpected, maxExpected);
- for (var i = 0; i < repaintRects.length; ++i)
- assert_array_equals(repaintRects[i], expectedRect);
-
- t.done();
- }), false);
-
- video.src = 'content/silence.wav';
-});
-</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/media-audio-no-spurious-repaints-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698