Semua versi v0.1.14614 Agu 2026Rendering, JavaScript dan JIT, DevTools Feed

Catatan rilis ditulis dalam bahasa Inggris.

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.

Apa yang berubah

4 perubahan
  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 dan 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.
Semua sejak v0.1.146 di satu tempat

Versi

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

November2026 · 1 versi

Oktober2026 · 7 versi

September2026 · 3 versi

Agustus2026 · 18 versi

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

Juli2026 · 3 versi