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

Side by Side Diff: LayoutTests/fast/canvas/canvas-empty-image-pattern.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <title>Canvas test: filling a pattern with an empty image should not crash.</tit le> 2 <title>Canvas test: filling a pattern with an empty image should not crash.</tit le>
3 <canvas id="canvas" class="output" width="100" height="100"><p class="fallback"> FAIL (fallback content)</p></canvas> 3 <canvas id="canvas" class="output" width="100" height="100"><p class="fallback"> FAIL (fallback content)</p></canvas>
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.dumpAsText(true); 6 testRunner.dumpAsTextWithPixelResults();
7 7
8 var canvas = document.getElementById("canvas").getContext("2d"); 8 var canvas = document.getElementById("canvas").getContext("2d");
9 canvas.fillStyle = canvas.createPattern(new Image, "repeat") 9 canvas.fillStyle = canvas.createPattern(new Image, "repeat")
10 canvas.fillRect(0,0,1,1) 10 canvas.fillRect(0,0,1,1)
11 </script> 11 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698