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

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

Issue 1488763002: Start an empty interface OffScreenCanvas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better -1 handling and more invalid args test cases Created 5 years 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 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 OffScreenCanvas(-1, -1) throws an exception as expected: TypeError: Failed to construct 'OffScreenCanvas': Value is outside the 'unsigned long' value range .
11 PASS canvas3.width is 0
12 PASS canvas3.height is 0
13 PASS canvas3.width is setWidth-1
14 PASS canvas3.height is setHeight-1
15 PASS Setting width to -1 throws an exception as expected: TypeError: Failed to s et the 'width' property on 'OffScreenCanvas': Value is outside the 'unsigned lon g' value range.
16 PASS Setting width to an object throws an exception as expected: TypeError: Fail ed to set the 'width' property on 'OffScreenCanvas': Value is not of type 'unsig ned long'.
17 PASS OffScreenCanvas(object, object) throws an exception as expected: TypeError: Failed to construct 'OffScreenCanvas': Value is not of type 'unsigned long'.
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698