summaryrefslogtreecommitdiff
path: root/ext/canvas
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2024-03-10 11:23:14 +0900
committerGitHub <noreply@github.com>2024-03-10 02:23:14 +0000
commit84db80642a134cf0bd17accbc5c12f37e09e632e (patch)
tree2e19301d7e4759bf392bab369cc41f8571272796 /ext/canvas
parentf8543a9fd8d47753a607dfc04c121c49d1ac4294 (diff)
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.
Diffstat (limited to 'ext/canvas')
-rw-r--r--ext/canvas/01_image.js2
1 files changed, 1 insertions, 1 deletions
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) {