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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-in-workers-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-in-workers-expected.txt b/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-in-workers-expected.txt
index 6d121de335ec9949bd71f10b564490d18b81c849..a5f148c4403c9213c855292b699b2711d10c800b 100644
--- a/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-in-workers-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-createImageBitmap-invalid-args-in-workers-expected.txt
@@ -4,9 +4,15 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Starting worker: ./resources/canvas-createImageBitmap-invalid-args-in-workers.js
-PASS [Worker] createImageBitmap(null, 0, 0, 10, 10) threw exception TypeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope': No function was found that matched the signature provided..
-PASS [Worker] createImageBitmap(data, 0, 0, 10, 0) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope': The source height provided is 0..
-PASS [Worker] createImageBitmap(data, 0, 0, 0, 10) threw exception IndexSizeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope': The source width provided is 0..
+PASS [Worker] Rejected as expected: null
+PASS [Worker] reason instanceof Error is true
+[Worker] TypeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope': No function was found that matched the signature provided.
+PASS [Worker] Rejected as expected: invalid area
+PASS [Worker] reason instanceof Error is true
+[Worker] IndexSizeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope': The source height provided is 0.
+PASS [Worker] Rejected as expected: invalid area
+PASS [Worker] reason instanceof Error is true
+[Worker] IndexSizeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope': The source width provided is 0.
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698