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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-getContext-invalid-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 that invalid canvas getContext() requests return null.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS canvas.getContext('') is null
7 PASS canvas.getContext('2d#') is null
8 PASS canvas.getContext('This is clearly not a valid context name.') is null
9 PASS canvas.getContext('2d\0') is null
10 PASS canvas.getContext('2d') is null
11 PASS canvas.getContext('2D') is null
12 PASS canvas.getContext() threw exception TypeError: Failed to execute 'getContex t' on 'HTMLCanvasElement': 1 argument required, but only 0 present..
13 PASS canvas.getContext('null') is null
14 PASS canvas.getContext('undefined') is null
15 PASS successfullyParsed is true
16
17 TEST COMPLETE
18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698