Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [1.60.1.1] - 2026-07-31

### Added
- **`/browse` can now test accessibility and dark-mode CSS branches.** `Emulation.setEmulatedMedia` is on the CDP allowlist, so `$B cdp Emulation.setEmulatedMedia '{"features":[{"name":"prefers-reduced-motion","value":"reduce"}]}'` works. Every media-feature branch (`prefers-reduced-motion`, `prefers-contrast`, `prefers-color-scheme`, `forced-colors`) was previously unreachable through browse: the method 403'd under the deny-default allowlist, so `/qa` and `/design-review` had no way to verify that a reduced-motion or high-contrast rule actually fires. Found while QA'ing a site whose CRT scanline overlay is suppressed under `prefers-reduced-motion`; there was no way to prove the suppression worked. Scoped `tab`/`trusted`, matching the three `Emulation` entries already on the list: the method returns an empty result and leaks no page content. Clear the override by passing an empty `features` array.

## [1.60.1.0] - 2026-07-09

## **The /autoplan dual-voice eval is back on the board, catching real regressions.**
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.60.1.0
1.60.1.1
7 changes: 7 additions & 0 deletions browse/src/cdp-allowlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,13 @@ export const CDP_ALLOWLIST: ReadonlyArray<CdpAllowEntry> = Object.freeze([
output: 'trusted',
justification: 'UA override on the active tab. NOTE: changes affect future requests; fine for tests.',
},
{
domain: 'Emulation',
method: 'setEmulatedMedia',
scope: 'tab',
output: 'trusted',
justification: 'Media type/feature override (prefers-color-scheme, prefers-reduced-motion, prefers-contrast, forced-colors) so a11y and dark-mode CSS branches are testable. Returns an empty result; no page content. NOTE: like setUserAgentOverride the override persists on the tab until cleared with an empty features array.',
},
// ─── Page capture (output, not navigation) ─────────────────
{
domain: 'Page',
Expand Down
Loading