所有版本 v0.1.14614 八月 2026渲染, JavaScript 与 JIT, 开发者工具 订阅

版本说明以英文撰写。

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.

改动内容

4 项改动
  1. 渲染Wasm-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 与 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. 开发者工具The 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. 渲染Honest 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.
v0.1.146 之后的所有内容,集中在一处

版本

v0.1.0 - 0.1.9 · 10 七月 2026418v0.1.427 · 25 十一月 2026

十一月2026 · 1 个版本

十月2026 · 7 个版本

九月2026 · 3 个版本

八月2026 · 18 个版本

14614 八月WebAssembly modules can call JavaScriptv0.1.146 · 渲染 14414 八月Exact tiling: percentage columns never leave a seamv0.1.144 · JavaScript 与 JIT 13514 八月DevTools automation: the methods a real driver reaches forv0.1.135 · Web API 与 DOM 12413 八月Puppeteer queries elements end to end - the first floor moves the overallv0.1.124 · 渲染 12213 八月Time-travel scrubbing: jump to any pause on the timelinev0.1.122 · 开发者工具 12113 八月Time-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · 标签页与界面 12013 八月DevTools: a WebSocket transport, so external tools can attachv0.1.120 · 开发者工具 11913 八月DevTools: a Sources panel with a clickable line gutterv0.1.119 · 标签页与界面 11811 八月DevTools debugger: step over, into and outv0.1.118 · JavaScript 与 JIT 1177 八月DevTools breakpoints snap to the nearest real linev0.1.117 · 开发者工具 1167 八月DevTools debugger: source-line breakpointsv0.1.116 · 开发者工具 1157 八月DevTools debugger: evaluate expressions at the breakpointv0.1.115 · 开发者工具 1147 八月DevTools debugger: pause on exceptionsv0.1.114 · 开发者工具 1137 八月Visual DevTools: a live Console REPL and a Debugger panelv0.1.113 · 标签页与界面 1127 八月DevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · 开发者工具 1006 八月The browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · 开发者工具 986 八月The engine speaks the DevTools Protocolv0.1.98 · 开发者工具 704 八月One press, and you are on the new versionv0.1.70 · 标签页与界面

七月2026 · 3 个版本