Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2022-04-26 00:46:42 +0300
committerMichaël Zasso <targos@protonmail.com>2022-04-28 07:57:24 +0300
commitad8269450a1f9b04b5a502789a6097f4346aae03 (patch)
treeadbeb1629acd43dc3e0c68d9217d1c3faf85976d /src/node_wasm_web_api.h
parent7b701442de42329ea2b244a18226d51bb14529b2 (diff)
lib,src: use Response URL as WebAssembly location
As per Section 3 of the WebAssembly Web API spec. PR-URL: https://github.com/nodejs/node/pull/42842 Refs: https://github.com/nodejs/node/pull/42701 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'src/node_wasm_web_api.h')
-rw-r--r--src/node_wasm_web_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_wasm_web_api.h b/src/node_wasm_web_api.h
index 9f5fe868167..da584be1592 100644
--- a/src/node_wasm_web_api.h
+++ b/src/node_wasm_web_api.h
@@ -33,6 +33,7 @@ class WasmStreamingObject final : public BaseObject {
private:
static void New(const v8::FunctionCallbackInfo<v8::Value>& args);
+ static void SetURL(const v8::FunctionCallbackInfo<v8::Value>& args);
static void Push(const v8::FunctionCallbackInfo<v8::Value>& args);
static void Finish(const v8::FunctionCallbackInfo<v8::Value>& args);
static void Abort(const v8::FunctionCallbackInfo<v8::Value>& args);