diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2024-03-10 11:23:14 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-10 02:23:14 +0000 |
commit | 84db80642a134cf0bd17accbc5c12f37e09e632e (patch) | |
tree | 2e19301d7e4759bf392bab369cc41f8571272796 /ext/fetch/26_fetch.js | |
parent | f8543a9fd8d47753a607dfc04c121c49d1ac4294 (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/fetch/26_fetch.js')
-rw-r--r-- | ext/fetch/26_fetch.js | 4 |
1 files changed, 2 insertions, 2 deletions
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", ); |