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/web/02_event.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/web/02_event.js')
-rw-r--r-- | ext/web/02_event.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/02_event.js b/ext/web/02_event.js index 026e46374..8f1c963e3 100644 --- a/ext/web/02_event.js +++ b/ext/web/02_event.js @@ -1507,7 +1507,7 @@ function checkThis(thisArg) { // https://html.spec.whatwg.org/#dom-reporterror function reportError(error) { checkThis(this); - const prefix = "Failed to call 'reportError'"; + const prefix = "Failed to execute 'reportError'"; webidl.requiredArguments(arguments.length, 1, prefix); reportException(error); } |