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

Side by Side Diff: LayoutTests/fast/canvas/imagedata-contains-uint8clampedarray.html

Issue 58533003: Move fast/js/resources files to resources. (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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("Tests that ImageData contains a Uint8ClampedArray."); 8 description("Tests that ImageData contains a Uint8ClampedArray.");
9 9
10 var canvas = document.createElement("canvas"); 10 var canvas = document.createElement("canvas");
11 canvas.width = 10; 11 canvas.width = 10;
12 canvas.height = 10; 12 canvas.height = 10;
13 var context = canvas.getContext("2d"); 13 var context = canvas.getContext("2d");
14 14
15 var imageData = context.getImageData(0, 0, 1, 1); 15 var imageData = context.getImageData(0, 0, 1, 1);
16 shouldBe('imageData.data.constructor', 'Uint8ClampedArray'); 16 shouldBe('imageData.data.constructor', 'Uint8ClampedArray');
17 </script> 17 </script>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/gradient-with-clip.html ('k') | LayoutTests/fast/canvas/linearGradient-infinite-values.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698