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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-getImageData-rounding-expected.txt

Issue 2674933002: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Created 3 years, 10 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
(Empty)
1 Test the handling of non-integer source coordinates in getImageData().
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 getImageData(0, 0, 20, 10)
7 PASS imageData.width is 20
8 PASS imageData.height is 10
9 getImageData(0.1, 0.2, 20, 10)
10 PASS imageData.width is 21
11 PASS imageData.height is 11
12 getImageData(0.9, 0.8, 20, 10)
13 PASS imageData.width is 21
14 PASS imageData.height is 11
15 getImageData(0, 0, 19.9, 9.9)
16 PASS imageData.width is 20
17 PASS imageData.height is 10
18 getImageData(0, 0, 19.1, 9.1)
19 PASS imageData.width is 20
20 PASS imageData.height is 10
21 getImageData(0.9, 0, 0.2, 10)
22 PASS imageData.width is 2
23 PASS imageData.height is 10
24 getImageData(-1, -1, 20, 10)
25 PASS imageData.width is 20
26 PASS imageData.height is 10
27 getImageData(-1.1, 0, 20, 10)
28 PASS imageData.width is 21
29 PASS imageData.height is 10
30 getImageData(-1.9, 0, 20, 10)
31 PASS imageData.width is 21
32 PASS imageData.height is 10
33 PASS successfullyParsed is true
34
35 TEST COMPLETE
36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698