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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/video-mute-repaint.html

Issue 2524463003: Disable under-invalidation checking in two video paint invalidation tests (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/video-unmute-repaint.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>Test for crbug.com/190880</title> 2 <title>Test for crbug.com/190880</title>
3 <script src="resources/text-based-repaint.js"></script> 3 <script src="resources/text-based-repaint.js"></script>
4 <style> 4 <style>
5 video { width: 700px; } 5 video { width: 700px; }
6 </style> 6 </style>
7 7
8 <video id="v" controls autoload src="../../media/content/test.ogv"> 8 <video id="v" controls autoload src="../../media/content/test.ogv">
9 </video> 9 </video>
10 10
11 <script> 11 <script>
12 // Disable under-invalidation checking because we allow short period of
13 // under-invalidation of buffered ranges.
14 if (window.internals)
15 internals.runtimeFlags.paintUnderInvalidationCheckingEnabled = false;
16
12 window.testIsAsync = true; 17 window.testIsAsync = true;
13 18
14 var video = document.getElementById("v"); 19 var video = document.getElementById("v");
15 video.addEventListener("canplaythrough", runRepaintTest, true); 20 video.addEventListener("canplaythrough", runRepaintTest, true);
16 21
17 function repaintTest() { 22 function repaintTest() {
18 video.volume = 0; 23 video.volume = 0;
19 finishRepaintTest(); 24 finishRepaintTest();
20 } 25 }
21 </script> 26 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/video-unmute-repaint.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698