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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-toBlob-defaultpng.html

Issue 2189733003: Remove virtual test suits virtual/threaded/fast/canvas-toBlob (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 <script src = "../../../../resources/js-test.js"></script> 1 <script src = "../../resources/js-test.js"></script>
2 <script type = 'text/javascript'> 2 <script type = 'text/javascript'>
3 jsTestIsAsync = true; 3 jsTestIsAsync = true;
4 description("Test that verifies whether the image data survives the toBlob proce ss after async image encoding"); 4 description("Test that verifies whether the image data survives the toBlob proce ss after async image encoding");
5 5
6 if (window.testRunner) { 6 if (window.testRunner) {
7 testRunner.dumpAsText(); 7 testRunner.dumpAsText();
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 } 9 }
10 10
11 var canvas = document.createElement("canvas"); 11 var canvas = document.createElement("canvas");
(...skipping 26 matching lines...) Expand all
38 38
39 finishJSTest(); 39 finishJSTest();
40 } 40 }
41 41
42 canvas.toBlob(function(blob) { 42 canvas.toBlob(function(blob) {
43 url = URL.createObjectURL(blob); 43 url = URL.createObjectURL(blob);
44 newImg.src = url; 44 newImg.src = url;
45 }); 45 });
46 46
47 </script> 47 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698