← v158/offlineaudiocontext-incremental-rendering · conformance

critique · rev 1

v158/offlineaudiocontext-incremental-rendering

reviewed 2026-11-22 by writer self-review during leaf-reference build; independent integrator source review pending

rubric

dimensionscoreseverityevidence
factual-source-fidelity4/5minorOfflineAudioContext + OfflineAudioContextOptions IDL quoted verbatim from the Web Audio API 1.1 Editor's Draft (fetched 2026-11-22). Chromium offline_audio_context.idl / offline_audio_context_options.idl / offline_audio_context.cc read for overloads, runtime flag gating, CalculateEffectiveChunkSize, error messages and close() rejection of pending renders. WPT offlineaudiocontext-incremental-rendering.html and offlineaudiocontext-close.html read for asserted behavior (rounding, trimming, running-between-chunks, suspend-at-boundary, AbortError on close, no complete event on close). Flag OfflineAudioContextIncrementalRendering status:stable confirmed in runtime_enabled_features.json5.
Two spec-vs-implementation divergences are documented rather than resolved: (1) ED text rounds the final chunk up after choosing the remaining length, while Chromium + WPT trim it; (2) ED text places the 'fire complete' step beside the 'rendered >= length' check, while Chromium fires complete once at the end. Both read from the fetched ED HTML; an independent reviewer should re-check against the current ED.
milestone-mapping5/5infoFeature 5109900936085504 present in the milestone=158 listing under 'Enabled by default' with listing name 'OfflineAudioContext incremental rendering' (fetched 2026-11-22); slug offlineaudiocontext-incremental-rendering derived from the listing name. Detail record milestones desktop/android/webview 158, ios null used only for the at-a-glance row.
completeness4/5infoInventory = every surface changed by spec PR #2675 / the Chromium flag: startRendering(chunkSize), close(), OfflineAudioContextOptions.length (nullable), OfflineAudioContext.length (nullable). Three stable child routes (start-rendering/, close/, indefinite-length/) each cover syntax, parameters, return value, exceptions, requirements, lifecycle, examples, compatibility, security/privacy. reference-contract.json maps all 4 items x 9 dimensions; validate-artifacts PASS.
explanation-quality4/5infoOverview gives the committed/rendered-frames model, a chunk-length resolution table (finite vs null length x chunkSize given/omitted), memory arithmetic (2,764,800,000 bytes for two hours of 48 kHz stereo vs 3,840,000 bytes per ten-second chunk) and feature detection. The explainer's stale length: Infinity sketch is explicitly corrected (WebIDL converts Infinity to 0 -> NotSupportedError).
examples4/5minorTen gendn-derived <pre><code> snippets across overview and child pages (feature detection, finite chunked export, indefinite render with close(), pipelined queueing, rejection handling, close() cancelling queued chunks, render-until-silence, construction-time detection), all using only IDL-traced members. Live chunked-render-console showcase demo embedded on the overview.
Snippets were not executed locally; their behavior claims trace to the WPT assertions and Chromium source.
browser-compat-fallbacks4/5minorBCD api/OfflineAudioContext.json has close: chrome 158, firefox/safari false, edge/android/webview mirror; no chunkSize or nullable-length sub-feature (checked 2026-11-22) — those columns labelled interim (ChromeStatus). webstatus.dev offline-audio-context-incremental-rendering: baseline limited, chrome/chrome_android 158 (2026-11-17). Fallback documented: one-shot startRendering() is Baseline widely available; extra arg silently ignored on old builds; detect via 'close' in OfflineAudioContext.prototype.
links-validity4/5minorEvery citation label is a direct link (spec anchors verified present in the fetched ED: dom-offlineaudiocontext-startrendering/close/length/suspend/resume, dom-offlineaudiocontextoptions-length, privacy-considerations, render-quantum-size). Showcase index + 4 concept routes HEAD 200 on 2026-11-22. MDN startRendering 200, MDN OfflineAudioContext/close 404.
github.com HTML/API for WebAudio PR #2675 was not reachable from this session; its closed state (2026-08-06) comes from the GitHub search API, and that the change landed is inferred from the ED containing the new IDL.
accessibility4/5infoSingle h1 per page; heading order h2 > h3; every data table has a caption or aria label and thead/th scope; scrollable table wrappers are focusable role=region with accessible names; pre blocks are focusable (tabindex=0) for keyboard scrolling; iframe has a descriptive title. Conformance suite 19/25 pass, 0 fail (6 manual-evidenced).
responsive-ux4/5infoHeadless Chrome 1280 and 360 full-page captures of all four routes read: initial 360px pass showed mid-word H1 breaks and crushed 3-column tables; fixed with <wbr> word-boundary hints and legible cell min-widths with in-wrapper scrolling. deno task responsive: desktop ok, mobile ok; no-horizontal-overflow-desktop/mobile assertions pass.
showcase-demo-relationship5/5infoEmbeds https://chrome-platform-showcase.paulkinlan-ea.deno.net/v158/offlineaudiocontext-incremental-rendering/chunked-render-console/ (HEAD 200; rendered inside the iframe in the 1280px capture) with the mandatory sandbox='allow-scripts allow-same-origin' + referrerpolicy='strict-origin-when-cross-origin'; sibling concepts lifecycle-and-close, memory-math, wav-export-pipeline linked; conformance.json cpsFeature references the CPS conformance route rather than forking platform assertions.

modern-web-guidance consulted

open questions

follow-up goals