From d95d724bbb20d3b63923ed5f089f5ba92e820ec8 Mon Sep 17 00:00:00 2001 From: Fabrizio Castellarin <663755+enoahnetzach@users.noreply.github.com> Date: Thu, 7 Aug 2025 15:44:21 +0200 Subject: [PATCH] Use the correctly captured `this` argument Fixes #74927 --- lib/wasm/wasm_exec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wasm/wasm_exec.js b/lib/wasm/wasm_exec.js index d71af9e97e8ca9..2eb1b9d194ceed 100644 --- a/lib/wasm/wasm_exec.js +++ b/lib/wasm/wasm_exec.js @@ -565,7 +565,7 @@ _makeFuncWrapper(id) { const go = this; return function () { - const event = { id: id, this: this, args: arguments }; + const event = { id: id, this: go, args: arguments }; go._pendingEvent = event; go._resume(); return event.result;

AltStyle によって変換されたページ (->オリジナル) /