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

Side by Side Diff: LayoutTests/fast/canvas/webgl/texture-color-profile.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 <title>Texture upload with color profile</title> 4 <title>Texture upload with color profile</title>
5 <script src="../../js/resources/js-test-pre.js"></script> 5 <script src="../../../resources/js-test.js"></script>
6 <script src="resources/webgl-test.js"></script> 6 <script src="resources/webgl-test.js"></script>
7 <script src="resources/webgl-test-utils.js"></script> 7 <script src="resources/webgl-test-utils.js"></script>
8 </head> 8 </head>
9 <body> 9 <body>
10 <canvas id="example" width="16" height="16" style="width: 16px; height: 16px;">< /canvas> 10 <canvas id="example" width="16" height="16" style="width: 16px; height: 16px;">< /canvas>
11 <div id="description"></div> 11 <div id="description"></div>
12 <div id="console"></div> 12 <div id="console"></div>
13 <script> 13 <script>
14 description("Test that applying a color profile to a texture with separate alpha doesn't destroy the texture."); 14 description("Test that applying a color profile to a texture with separate alpha doesn't destroy the texture.");
15 debug("") 15 debug("")
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 gl.readPixels(0, 0, width, height, gl.RGBA, gl.UNSIGNED_BYTE, buf); 80 gl.readPixels(0, 0, width, height, gl.RGBA, gl.UNSIGNED_BYTE, buf);
81 // This generous range is still enough to catch the regression. 81 // This generous range is still enough to catch the regression.
82 checkPixelRange(buf, 0, 0, [163, 126, 94, 129], 20); 82 checkPixelRange(buf, 0, 0, [163, 126, 94, 129], 20);
83 83
84 debug(""); 84 debug("");
85 isSuccessfullyParsed(); 85 isSuccessfullyParsed();
86 } 86 }
87 </script> 87 </script>
88 </body> 88 </body>
89 </html> 89 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698