diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-06-06 01:38:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-06 01:38:39 +0200 |
commit | fdf068a607217679f118ae18f1c2fe64c84d7152 (patch) | |
tree | 6910594f7d0383eaabfbf61f716b69ed8523bfa1 | |
parent | c73ef5fa143b473677d4cab069241ff018e0c971 (diff) |
fix: typo in validator for TextEncoder#encode (#10862)
-rw-r--r-- | extensions/web/08_text_encoding.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/web/08_text_encoding.js b/extensions/web/08_text_encoding.js index 4db1af29a..7b2c97497 100644 --- a/extensions/web/08_text_encoding.js +++ b/extensions/web/08_text_encoding.js @@ -158,7 +158,7 @@ const prefix = "Failed to execute 'encode' on 'TextEncoder'"; input = webidl.converters.USVString(input, { prefix, - context: "Argument 2", + context: "Argument 1", }); return core.encode(input); } |