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/23_request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/fetch/23_request.js') diff --git a/ext/fetch/23_request.js b/ext/fetch/23_request.js index 542bcb8bb..61c3b3f5d 100644 --- a/ext/fetch/23_request.js +++ b/ext/fetch/23_request.js @@ -466,7 +466,7 @@ class Request { } clone() { - const prefix = "Failed to call 'Request.clone'"; + const prefix = "Failed to execute 'Request.clone'"; webidl.assertBranded(this, RequestPrototype); if (this[_body] && this[_body].unusable()) { throw new TypeError("Body is unusable."); -- cgit v1.2.3