Alle Versionen v0.1.14614 Aug 2026Darstellung, JavaScript und JIT, DevTools Feed

Die Versionshinweise sind auf Englisch geschrieben.

WebAssembly modules can call JavaScript

A named floor falls: WebAssembly JS-import callbacks. The engine has run real compiled wasm modules since 0.1.134, but a module that IMPORTED a JavaScript function - the way nearly every real wasm module talks to its page - could not call it, because the wasm call path ran as a plain native that cannot re-enter the JavaScript engine. The wasm call is now an interpreter intrinsic: when a module invokes an imported function, the engine re-enters its own VM, runs the page-supplied JavaScript function with the wasm arguments, and coerces the return value back to the import's declared wasm type. A JavaScript exception thrown by the import surfaces as itself to the wasm caller's catch block, not a stringified copy. Verified against the reference runtime's WebAssembly as the independent reference, end to end from page JavaScript. Also in this release: the protocol layer's awaitPromise now advances the page's event loop while it waits, so an automation waitForSelector finds an element the page inserts later - the thirteenth probe step. Web APIs moves 62 to 63; the overall holds at 57.

Was sich geändert hat

4 Änderungen
  1. DarstellungWasm-to-JS calls run through a host driver passed per call, not stored callbacks - the driver captures the JS VM mutably and re-enters it, which is the piece a plain native could never do. Arguments arrive as numbers matching the wasm values; the JS return value is coerced to the import's declared result type; an import with no supplied function still instantiates and errors honestly only when actually called.
  2. JavaScript und JITProven end to end from page JavaScript against the reference JavaScript runtime as the reference: a module importing env.add10 computes add10(x)*2, and the page sees 30 and 42 for runs of 5 and 11 with the import observing exactly those arguments. A throwing import surfaces its own Error to the caller. Three new integration tests plus a driver-level unit test.
  3. DevToolsThe DevTools protocol's awaitPromise now pumps the page's event loop (due timers, injected scripts, microtasks) between settlement checks, so a promise that resolves through page activity - a wait-for-selector poller watching for an element a setTimeout will insert - settles instead of timing out. The live Puppeteer probe grows to thirteen steps, all green.
  4. DarstellungHonest limits, stated plainly: imported memories are allocated locally rather than shared, and imported globals and tables are tolerated by the decoder but not yet modeled - the common env function-import shape works; full emscripten interop is the remaining tail.
Alles seit v0.1.146 an einem Ort

Versionen

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026

November2026 · 1 Version

Oktober2026 · 7 Versionen

September2026 · 3 Versionen

August2026 · 18 Versionen

14614 AugWebAssembly modules can call JavaScriptv0.1.146 · Darstellung 14414 AugExact tiling: percentage columns never leave a seamv0.1.144 · JavaScript und JIT 13514 AugDevTools automation: the methods a real driver reaches forv0.1.135 · Web-APIs und DOM 12413 AugPuppeteer queries elements end to end - the first floor moves the overallv0.1.124 · Darstellung 12213 AugTime-travel scrubbing: jump to any pause on the timelinev0.1.122 · DevTools 12113 AugTime-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · Tabs und Oberfläche 12013 AugDevTools: a WebSocket transport, so external tools can attachv0.1.120 · DevTools 11913 AugDevTools: a Sources panel with a clickable line gutterv0.1.119 · Tabs und Oberfläche 11811 AugDevTools debugger: step over, into and outv0.1.118 · JavaScript und JIT 1177 AugDevTools breakpoints snap to the nearest real linev0.1.117 · DevTools 1167 AugDevTools debugger: source-line breakpointsv0.1.116 · DevTools 1157 AugDevTools debugger: evaluate expressions at the breakpointv0.1.115 · DevTools 1147 AugDevTools debugger: pause on exceptionsv0.1.114 · DevTools 1137 AugVisual DevTools: a live Console REPL and a Debugger panelv0.1.113 · Tabs und Oberfläche 1127 AugDevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · DevTools 1006 AugThe browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · DevTools 986 AugThe engine speaks the DevTools Protocolv0.1.98 · DevTools 704 AugOne press, and you are on the new versionv0.1.70 · Tabs und Oberfläche

Juli2026 · 3 Versionen