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

Side by Side Diff: LayoutTests/fast/canvas/winding-enumeration.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 7
8 <script> 8 <script>
9 var canvas = document.createElement("canvas"); 9 var canvas = document.createElement("canvas");
10 var context = canvas.getContext("2d"); 10 var context = canvas.getContext("2d");
11 11
12 shouldNotThrow("context.fill()"); 12 shouldNotThrow("context.fill()");
13 shouldNotThrow("context.fill('nonzero')"); 13 shouldNotThrow("context.fill('nonzero')");
14 shouldThrow("context.fill('randomstring')"); 14 shouldThrow("context.fill('randomstring')");
15 15
16 shouldNotThrow("context.clip()"); 16 shouldNotThrow("context.clip()");
17 shouldNotThrow("context.clip('nonzero')"); 17 shouldNotThrow("context.clip('nonzero')");
18 shouldThrow("context.clip('randomstring')"); 18 shouldThrow("context.clip('randomstring')");
19 19
20 shouldNotThrow("context.isPointInPath(0, 0)"); 20 shouldNotThrow("context.isPointInPath(0, 0)");
21 shouldNotThrow("context.isPointInPath(0, 0, 'nonzero')"); 21 shouldNotThrow("context.isPointInPath(0, 0, 'nonzero')");
22 shouldThrow("context.isPointInPath(0, 0, 'randomstring')"); 22 shouldThrow("context.isPointInPath(0, 0, 'randomstring')");
23 </script> 23 </script>
24 24
25 </body> 25 </body>
26 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698