所有版本 v0.1.16916 八月 2026JavaScript 与 JIT, 媒体 订阅

版本说明以英文撰写。

Decoded frames reach the screen: drawImage(VideoFrame) paints real video + animated GIF onto a canvas

Last release the engine learned to decode a video frame; this one puts that frame on the screen. Until now a decoded VP8 keyframe (or an ImageDecoder frame) came back as a WebCodecs VideoFrame you could read the pixels out of, but the canonical way pages actually display one - handing the frame straight to a canvas with ctx.drawImage(frame, ...) - drew nothing, because drawImage only understood a DOM <img>/<canvas>, not a frame that carries its own decoded pixels. Now it does: drawImage of a VideoFrame paints the decoded RGBA (with the R/B swap and YUV->RGB conversion the plane formats need) onto the canvas, so the everyday decode-then-draw loop renders a genuine video frame on-screen. It is verified the honest way - the drawn canvas is read back with getImageData and the pixels match the decoder's output exactly, so a real VP8 keyframe lands at the right place with the right colours. Shipping alongside it is multi-frame animated-GIF decode in ImageDecoder (frameCount, decode({frameIndex}), real per-frame timing and loop count, composited byte-for-byte against Pillow), and those frames paint the same way. Media moves 50 to 51; the overall holds at 57 (interframe decode and the Media-Source-to-decode playback pipeline are the video floor still to bridge).

改动内容

3 项改动
  1. 媒体ctx.drawImage(VideoFrame) renders a decoded frame to a <canvas>: a WebCodecs VideoFrame carries its own decoded pixels rather than a DOM node, so drawImage now records the RGBA inline and the same nearest-sample affine blit paints it - the canonical decoder.output = f => ctx.drawImage(f, ...) pattern finally shows a real decoded VP8 keyframe / ImageDecoder frame on-screen instead of drawing nothing. Verified byte-exact by reading the canvas back with getImageData (the centre pixel of a decoded 48x32 VP8 keyframe matches libwebp's decode).
  2. 媒体VideoFrame -> RGBA for canvas covers the real formats: RGBA is a straight copy, BGRA/BGRX swap the channels, RGBX/BGRX force opacity, and the I420/I420A/I422/I444/NV12 planar families convert with BT.601 studio-swing math; a frame shorter than its declared format refuses rather than panicking. This is the render path the pure-Rust VP8 keyframe decoder and the ImageDecoder both flow through to reach the screen.
  3. JavaScript 与 JITMulti-frame animated GIF in WebCodecs ImageDecoder: full GIF animation compositing (sub-image placement, transparency, leave/background/previous disposal, NETSCAPE loop count) so decode({frameIndex}) returns the Nth composited frame with real cumulative-microsecond timestamps and per-frame duration, frameCount and an Infinity repetitionCount for a forever loop, and out-of-range indices reject - composited byte-for-byte against Pillow, and each frame paints to a canvas through the new drawImage path. Whole conformance suite unchanged (6375/6375), native-JIT and no-nanbox green.
v0.1.169 之后的所有内容,集中在一处

版本

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

十月2026 · 33 个版本

37121 十月Drop files onto pages, dictate without your voice leaving the Mac, and controllers that rumblev0.1.371 · Web API 与 DOM · 试试 37021 十月Open your files, share to your phone, have pages read aloud, install sites as apps, play with a controller, and accented text drawn rightv0.1.370 · 隐私与 Shields · 试试11 36920 十月Passkeys with Touch ID and Windows Hello, sites that work offline, notifications you allow, and devices asked for first, all kept on your devicev0.1.369 · 隐私与 Shields · 试试9 36820 十月A site's own security rules are kept the whole time the page runs, Trusted Types, a map of every unsafe write in DevTools, and animations from scriptv0.1.368 · 隐私与 Shields · 试试 36720 十月Events, form controls, performance timing, URL patterns, live streams and the newest JavaScript: the Web APIs score rises from 59 to 62v0.1.367 · Web API 与 DOM · 试试10 36619 十月Events, custom form controls, fonts and navigation work the way the web standards say: the Web APIs score rises from 53 to 59v0.1.366 · Web API 与 DOM · 试试9 36519 十月The code-size budget fits your processor, and code that has gone cold makes room for code that is hot nowv0.1.365 · JavaScript 与 JIT · 试试 36419 十月Compiled code that fits the processor's caches: big pages up to 1.8 times faster, and fast compiled code on Windows and Intel machinesv0.1.364 · JavaScript 与 JIT · 试试 36319 十月Thermal runs on one code generator, building strings is up to 8 times faster, and two slow paths that grew with the square of their input are linearv0.1.363 · JavaScript 与 JIT · 试试12 36219 十月A page scheduler that stalled now runs, try / finally and spreads compile, and deleting thousands of properties is 180 times fasterv0.1.362 · 渲染 · 试试 36118 十月Thermal runs on Windows and Intel machines, a register fix for compiled code on Windows, try / catch compiles, and reading a growing string is 200 times fasterv0.1.361 · JavaScript 与 JIT · 试试 36018 十月Every byte of machine code is Floati's own, a news site that showed blank renders, Gust's code is half the size, and closures and ?? compilev0.1.360 · JavaScript 与 JIT · 试试9 35916 十月Thermal reads object members and folds Math, string building compiles, and methods, Array subclasses and globals behave as the standard saysv0.1.359 · JavaScript 与 JIT · 试试 35816 十月Thermal, Floati's own optimizing compiler, is on: hot loops keep their numbers and strings in registersv0.1.358 · JavaScript 与 JIT · 试试 35715 十月Loops that test a number run as machine code, more of your functions compile, and reading page nodes is three times fasterv0.1.357 · JavaScript 与 JIT · 试试14 35614 十月Recursion makes a fraction of the calls, loops keep objects in registers, and element writes stop searchingv0.1.356 · JavaScript 与 JIT · 试试 35514 十月A hot loop changes compiler without stopping, property writes skip the detour, and pure recursion remembers its answersv0.1.355 · JavaScript 与 JIT · 试试 35413 十月Floati compiles JavaScript with its own compiler, Updraft: about a hundred times faster to compile, and compiled code no longer piles upv0.1.354 · JavaScript 与 JIT · 试试 35311 十月Style matching tries a third of the rules, queries prepare their selector once, sibling walks stay fastv0.1.353 · 渲染 · 试试 35211 十月Code that loads on demand starts at once, images decode beside their downloads, writes run compiledv0.1.352 · 渲染 · 试试10 35111 十月Styles read once, layouts redone only where they changed, built-ins in compiled loopsv0.1.351 · JavaScript 与 JIT · 试试12 35010 十月Helpers that compile, strings that stay small, and events that fire fastv0.1.350 · JavaScript 与 JIT · 试试14 34910 十月Scripts that grow in step with their work, layouts laid out once, and colours mixed like the referencev0.1.349 · 渲染 · 试试13 3489 十月Scripts that only compile when it pays, cards that line up, and bold that stays boldv0.1.348 · 渲染 · 试试14 3478 十月Cards inside links, small print at its real size, and errors you can followv0.1.347 · 渲染 · 试试17 3467 十月A real performance timeline, site icons from the engine with a lookalike check, and forms that lay out rightv0.1.346 · 渲染 · 试试14 3457 十月Real WebGL, a real 2D canvas, and canvas text that matches the reference browserv0.1.345 · 渲染 · 试试10 3436 十月Sign-ins that stay signed in, a real IndexedDB, and a storage button that shows what sites keepv0.1.343 · 隐私与 Shields · 试试25 3425 十月Theme switchers, chart labels sized by CSS, and SVG text you can measurev0.1.342 · Web API 与 DOM · 试试 3415 十月Canvas text measured and drawn like the reference browser, and SVG shapes you can measurev0.1.341 · 渲染 · 试试 3405 十月Scripts can read and change SVG the way they do in the reference browser, and a hidden hang is gonev0.1.340 · 渲染 · 试试10 3395 十月Every computed style, real stylesheet objects and full 3D geometry, each checked against the reference browserv0.1.339 · Web API 与 DOM · 试试12 3385 十月Pages load faster, render truer and gain a dozen modern web features, each one checked against the reference browserv0.1.338 · Web API 与 DOM · 试试19