fix: typo in validator for TextEncoder#encode
const prefix = "Failed to execute 'encode' on 'TextEncoder'";
input = webidl.converters.USVString(input, {
prefix,
- context: "Argument 2",
+ context: "Argument 1",
});
return core.encode(input);
}
