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

Side by Side Diff: third_party/WebKit/LayoutTests/virtual/gpu/fast/canvas/canvas-webkitLineDash-invalid-expected.txt

Issue 2693043012: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Addressing comments 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
« no previous file with comments | « third_party/WebKit/LayoutTests/virtual/gpu/fast/canvas/canvas-webkitLineDash-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Test for invalid input of webkitLineDash and webkitLineDashOffset
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS trySettingLineDash([1, 2, 3]) is [1, 2, 3]
7 FAIL trySettingLineDash([1, -1]) should be 1.5,2.5. Was 1,-1.
8 FAIL trySettingLineDash([1, Infinity]) should be 1.5,2.5. Was 1,Infinity.
9 FAIL trySettingLineDash([1, -Infinity]) should be 1.5,2.5. Was 1,-Infinity.
10 FAIL trySettingLineDash([1, NaN]) should be 1.5,2.5. Was 1,NaN.
11 FAIL trySettingLineDash([1, 'string']) should be 1.5,2.5. Was 1,string.
12 PASS trySettingLineDashOffset(0.5) is 0.5
13 PASS trySettingLineDashOffset(-0.5) is -0.5
14 FAIL trySettingLineDashOffset(Infinity) should be 1.5. Was Infinity.
15 FAIL trySettingLineDashOffset(-Infinity) should be 1.5. Was -Infinity.
16 FAIL trySettingLineDashOffset(NaN) should be 1.5. Was NaN.
17 FAIL trySettingLineDashOffset('string') should be 1.5 (of type number). Was stri ng (of type string).
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/virtual/gpu/fast/canvas/canvas-webkitLineDash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698