Chromium Code Reviews

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

Issue 1455763002: Use union type in ImageBitmapFactories.idl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using polymophism in ImageBitmapSource Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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] Rejected as expected: null 7 PASS [Worker] Rejected as expected: null
8 PASS [Worker] reason instanceof Error is true 8 PASS [Worker] reason instanceof Error is true
9 [Worker] TypeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope' : No function was found that matched the signature provided. 9 [Worker] TypeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope' : The provided value is not of type '(HTMLImageElement or HTMLVideoElement or HT MLCanvasElement or Blob or ImageData or ImageBitmap)'
10 PASS [Worker] Rejected as expected: invalid area 10 PASS [Worker] Rejected as expected: invalid area
11 PASS [Worker] reason instanceof Error is true 11 PASS [Worker] reason instanceof Error is true
12 [Worker] IndexSizeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalS cope': The source height provided is 0. 12 [Worker] IndexSizeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalS cope': The source height provided is 0.
13 PASS [Worker] Rejected as expected: invalid area 13 PASS [Worker] Rejected as expected: invalid area
14 PASS [Worker] reason instanceof Error is true 14 PASS [Worker] reason instanceof Error is true
15 [Worker] IndexSizeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalS cope': The source width provided is 0. 15 [Worker] IndexSizeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalS cope': The source width provided is 0.
16 PASS successfullyParsed is true 16 PASS successfullyParsed is true
17 17
18 TEST COMPLETE 18 TEST COMPLETE
19 19
OLDNEW

Powered by Google App Engine