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.
This commit is contained in:
Kenta Moriuchi 2024-03-10 11:23:14 +09:00 committed by GitHub
parent f8543a9fd8
commit 84db80642a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 26 additions and 26 deletions

View file

@ -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.");