From 84db80642a134cf0bd17accbc5c12f37e09e632e Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Sun, 10 Mar 2024 11:23:14 +0900 Subject: chore: replace 'call' to 'execute' in error messages (#22579) Since both "call" and "execute" were used in error messages, I replaced them with "execute," which is more used. --- ext/canvas/01_image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/canvas') diff --git a/ext/canvas/01_image.js b/ext/canvas/01_image.js index 844650dcb..a738f7992 100644 --- a/ext/canvas/01_image.js +++ b/ext/canvas/01_image.js @@ -163,7 +163,7 @@ function createImageBitmap( sh = undefined, options = undefined, ) { - const prefix = "Failed to call 'createImageBitmap'"; + const prefix = "Failed to execute 'createImageBitmap'"; // Overload: createImageBitmap(image [, options ]) if (arguments.length < 3) { -- cgit v1.2.3