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

Side by Side Diff: LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-in-workers-expected.txt

Issue 669353002: Fix broken Promise-related layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@return-rejected
Patch Set: Created 6 years, 2 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
1 [Worker] Test createImageBitmap with invalid arguments in workers. 1 [Worker] Test createImageBitmap with invalid arguments in workers.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Starting worker: ./resources/canvas-createImageBitmap-invalid-args-in-workers.js 6 Starting worker: ./resources/canvas-createImageBitmap-invalid-args-in-workers.js
7 PASS [Worker] createImageBitmap(null, 0, 0, 10, 10) threw exception TypeError: F ailed to execute 'createImageBitmap' on 'WorkerGlobalScope': No function was fou nd that matched the signature provided.. 7 PASS [Worker] Rejected as expected: null
8 PASS [Worker] createImageBitmap(data, 0, 0, 10, 0) threw exception IndexSizeErro r: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope': The source heig ht provided is 0.. 8 PASS [Worker] reason instanceof Error is true
9 PASS [Worker] createImageBitmap(data, 0, 0, 0, 10) threw exception IndexSizeErro r: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope': The source widt h provided is 0.. 9 [Worker] TypeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope' : No function was found that matched the signature provided.
10 PASS [Worker] Rejected as expected: invalid area
11 PASS [Worker] reason instanceof Error is true
12 [Worker] IndexSizeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalS cope': The source height provided is 0.
13 PASS [Worker] Rejected as expected: invalid area
14 PASS [Worker] reason instanceof Error is true
15 [Worker] IndexSizeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalS cope': The source width provided is 0.
10 PASS successfullyParsed is true 16 PASS successfullyParsed is true
11 17
12 TEST COMPLETE 18 TEST COMPLETE
13 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698