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

Side by Side Diff: LayoutTests/fast/canvas/canvas-createImageBitmap-animated.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <script> 6 <script>
7 window.jsTestIsAsync = true; 7 window.jsTestIsAsync = true;
8 8
9 function shouldBeGreen(x, y) { 9 function shouldBeGreen(x, y) {
10 d = ctx.getImageData(x, y, 1, 1).data; 10 d = ctx.getImageData(x, y, 1, 1).data;
(...skipping 20 matching lines...) Expand all
31 ctx.drawImage(imageBitmap, 0, 0); 31 ctx.drawImage(imageBitmap, 0, 0);
32 shouldBeGreen(100, 100); 32 shouldBeGreen(100, 100);
33 finishJSTest(); 33 finishJSTest();
34 }, function() { 34 }, function() {
35 testFailed("Promise was rejected."); 35 testFailed("Promise was rejected.");
36 finishJSTest(); 36 finishJSTest();
37 }); 37 });
38 }, 50); 38 }, 50);
39 } 39 }
40 </script> 40 </script>
41 <script src="../js/resources/js-test-post.js"></script>
42 </body> 41 </body>
43 </html> 42 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/canvas-copyPixels.html ('k') | LayoutTests/fast/canvas/canvas-createImageBitmap-blob-in-workers.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698