Canary crash and stress suite

Press one button below to run the whole suite automatically: 11 past crash and context-loss reproductions (in an isolated tab so a renderer crash can't kill this page), 8 non-crashing engine checks and 5 timed stress benchmarks, while watching crashes, long animation frames, layout shifts and browser reports through the site's observers.

Back to /crashes/
Ready. Press "Run full Canary suite (automated)" once to run all 3 phases (~45 s) and file a summary report to /api/reports.
Reading browser capabilities.
Crash and context observers Waiting for run.
PerformanceObserver (LoAF / tasks / CLS) Waiting for run.
Graphics guard (window.__gfx) Waiting for run.

1. Past crashes and lost contexts (Phase 1, isolated tab)

Runs automatically in a separate noopener tab so a renderer crash leaves this page alive. The one crash still open in Canary 160 (startViewTransition() on a drawable child) runs last so all ten earlier cases finish in a single pass. You can also run any row on its own.

Idle.
KindCase and baselineThis browserAction

2. Non-crashing engine checks (Phase 2, inline)

Eight checks from /friction/ and FINDINGS.md that run right here in temporary fixtures and retire every canvas afterwards.

ResultCheck and baselineMeasured detailRun

3. Stress benchmarks (Phase 3, 2.5 s each)

Each workload runs automatically for 2.5 s during Phase 3 while PerformanceObserver records long animation frames (LoAF), long tasks and layout shifts, and window.__gfx tracks context losses and canvas memory.

WorkloadFPSAvg paint / uploadLoAF (count / max)Long tasks / losses

Idle.

4. Live observer and crash log

Entries from PerformanceObserver (long-animation-frame, layout-shift), ReportingObserver (crash, intervention, deprecation), isolated runner crashes and window.__gfx.report() calls sent to /api/reports (read with npm run reports -- --type canary-suite --list).

No observer events yet.

5. Heavy site demos to smoke-test on Canary

Full pages from this repo that hit the hardest paths in real usage.

/portal-room/

WebGL 2 offscreen FBO portal render + 3D perspective hit-testing on a live console.

/osm-road/

Live OpenStreetMap canvas with tilted 3D overlays and billboarded HTML markers.

/osm-fold/

Multi-panel WebGL folded paper map with live DOM labels and crease lighting.

/canvas-skin/

High-count per-element canvas wrappers with theme swaps and ResizeObserver pressure.

/particles/

WebGL transparent canvas + drawable children (turned solid white on Android Chrome 159).

/board/

Drawn same-origin iframes containing nested drawable canvases.

/canvas-loss/

21 isolated 2D context-loss trials for Android testing.

/slot/hello.html

Minimal <canvas-slot> card that first exposed the Apple Metal rotation flicker.

/hdr-glow/

Display P3 float16 2D canvas and manual float16 readback test.

Show the code observers, crash catalog, engine checks, five stress runners, report builder
  1. PerformanceObserver, ReportingObserver and __gfx wrapper. Scoped LoAF, long-task, CLS, event-timing, ReportingObserver and /api/reports filing.
  2. Crash and loss catalog. Links each historical bug to its standalone repro and localStorage key.
  3. Eight engine regression checks. Isolated fixtures that retire their canvas after each check.
  4. 2D DOM wall stress test. Up to 128 live interactive elements per frame with optional rotation and reflow churn.
  5. Snapshot ring-buffer stress test. Continuous captureElementImage() and close().
  6. WebGL 2 multi-texture + mipmap + FBO stress test. 16 live mutating DOM textures and a chromatic wave post-pass.
  7. WebGPU upload stress test. Eight live elements via drawElementImageToTexture() on the shared device.
  8. DOM, iframe and geometry churn test. Animated iframe child, live button hit-testing and transient drawable nodes.
  9. Markdown report builder. Formats browser details, observer telemetry, repro results, engine checks and stress stats.

How it works

Live checks

Checks that this suite's harness, observers and repro files are present. Runs on tap.

ResultExperimentDetail

Findings

Measured on 2026-11-24 on macOS (Apple M4 Pro, ANGLE Metal) comparing Chrome 158.0.8127.88 and Chrome Canary 160.0.8180.0 with CanvasDrawElement and ScopedViewTransitions enabled.