mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
Chromium's media controls answer the second click of a double click with a native fullscreen request for the <video>. The same double click opens the in-window theatre. Where fullscreen is granted (Chrome, Playwright), the fullscreened video covers the theatre backdrop, so a backdrop click no longer closes it. That is the cause of the flaky review.spec.ts video theatre test. controlslist="nofullscreen" would also remove Chromium's click-to-play, which it only offers on videos that can go fullscreen. Instead, the video is held as an open popover while the controls handle a multi-click, and released before the next frame renders. The fullscreen element ready check refuses an open popover, so only the fullscreen request fails. Chromium's play/pause bookkeeping is unchanged. Desktop already denies the fullscreen permission, so nothing changes there. The e2e test now also checks that a single click still starts playback, and that nothing went native fullscreen by the end of the flow. |
||
|---|---|---|
| .. | ||
| performance | ||
| regression | ||
| reproduction/timeline-suspense | ||
| screenshots | ||
| service-worker | ||
| user-story | ||
| utils | ||
| AGENTS.md | ||
| tsconfig.json | ||