summaryrefslogtreecommitdiff
path: root/ext/url
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/url
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/url')
-rw-r--r--ext/url/00_url.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/url/00_url.js b/ext/url/00_url.js
index 6559432e5..3b081218b 100644
--- a/ext/url/00_url.js
+++ b/ext/url/00_url.js
@@ -395,7 +395,7 @@ class URL {
* @param {string} [base]
*/
static canParse(url, base = undefined) {
- const prefix = "Failed to call 'URL.canParse'";
+ const prefix = "Failed to execute 'URL.canParse'";
webidl.requiredArguments(arguments.length, 1, prefix);
url = webidl.converters.DOMString(url, prefix, "Argument 1");
if (base !== undefined) {