From b31cf9fde6ad5398c20370c136695db77df6beeb Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Mon, 1 May 2023 12:47:13 +0200 Subject: refactor(webidl): move prefix & context out of converters options bag (#18931) --- ext/fetch/26_fetch.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ext/fetch/26_fetch.js') diff --git a/ext/fetch/26_fetch.js b/ext/fetch/26_fetch.js index 42e1ae962..5084fab34 100644 --- a/ext/fetch/26_fetch.js +++ b/ext/fetch/26_fetch.js @@ -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 -- cgit v1.2.3