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/fetch/26_fetch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/fetch/26_fetch.js') diff --git a/ext/fetch/26_fetch.js b/ext/fetch/26_fetch.js index 9f90156c5..c4669e430 100644 --- a/ext/fetch/26_fetch.js +++ b/ext/fetch/26_fetch.js @@ -313,7 +313,7 @@ function fetch(input, init = {}) { let opPromise = undefined; // 1. const result = new Promise((resolve, reject) => { - const prefix = "Failed to call 'fetch'"; + const prefix = "Failed to execute 'fetch'"; webidl.requiredArguments(arguments.length, 1, prefix); // 2. const requestObject = new Request(input, init); @@ -425,7 +425,7 @@ function handleWasmStreaming(source, rid) { try { const res = webidl.converters["Response"]( source, - "Failed to call 'WebAssembly.compileStreaming'", + "Failed to execute 'WebAssembly.compileStreaming'", "Argument 1", ); -- cgit v1.2.3