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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-invalid-args-expected.txt

Issue 2264953003: Use testharness.js instead of js-test.js in OffscreenCanvas tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change attribute to plural. Created 4 years, 3 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/fast/canvas/OffscreenCanvas-invalid-args.html ('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 Tests that the OffscreenCanvas can handle invalid arguments
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS canvas1.width is setWidth-1
7 PASS canvas1.height is setHeight-1
8 PASS canvas1.width is 0
9 PASS canvas1.height is 0
10 PASS new OffscreenCanvas(-1, -1) threw exception TypeError: Failed to construct 'OffscreenCanvas': Value is outside the 'unsigned long' value range..
11 PASS canvas2.width is 0
12 PASS canvas2.height is 0
13 PASS canvas2.width is setWidth-1
14 PASS canvas2.height is setHeight-1
15 PASS canvas2.width = -1 threw exception TypeError: Failed to set the 'width' pro perty on 'OffscreenCanvas': Value is outside the 'unsigned long' value range..
16 PASS canvas2.height = -1 threw exception TypeError: Failed to set the 'height' p roperty on 'OffscreenCanvas': Value is outside the 'unsigned long' value range..
17 PASS canvas2.width = obj threw exception TypeError: Failed to set the 'width' pr operty on 'OffscreenCanvas': Value is not of type 'unsigned long'..
18 PASS canvas2.height = obj threw exception TypeError: Failed to set the 'height' property on 'OffscreenCanvas': Value is not of type 'unsigned long'..
19 PASS new OffscreenCanvas(obj, obj) threw exception TypeError: Failed to construc t 'OffscreenCanvas': Value is not of type 'unsigned long'..
20 PASS successfullyParsed is true
21
22 TEST COMPLETE
23
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-invalid-args.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698