mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 05:35:33 +00:00
refactor(webidl): move prefix & context out of converters options bag (#18931)
This commit is contained in:
parent
d856bfd336
commit
b31cf9fde6
31 changed files with 1042 additions and 964 deletions
|
@ -523,10 +523,11 @@ function handleWasmStreaming(source, rid) {
|
|||
// This implements part of
|
||||
// https://webassembly.github.io/spec/web-api/#compile-a-potential-webassembly-response
|
||||
try {
|
||||
const res = webidl.converters["Response"](source, {
|
||||
prefix: "Failed to call 'WebAssembly.compileStreaming'",
|
||||
context: "Argument 1",
|
||||
});
|
||||
const res = webidl.converters["Response"](
|
||||
source,
|
||||
"Failed to call 'WebAssembly.compileStreaming'",
|
||||
"Argument 1",
|
||||
);
|
||||
|
||||
// 2.3.
|
||||
// The spec is ambiguous here, see
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue