Tutte le versioni v0.1.14614 Ago 2026Rendering, JavaScript e JIT, DevTools Feed

Le note di rilascio sono scritte in inglese.

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.

Cosa è cambiato

4 modifiche
  1. RenderingWasm-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 e 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. RenderingHonest 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.
Tutto dalla v0.1.146 in un unico posto

Versioni

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

Novembre2026 · 1 versione

Ottobre2026 · 7 versioni

Settembre2026 · 3 versioni

Agosto2026 · 18 versioni

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

Luglio2026 · 3 versioni