Files
hyperframes/packages
James Russo 8886743f44 fix(core): tell an opaque document how to actually get its Web Audio back (#3940)
The opaque-origin fix in #3937 routed correctly but sent the diagnostic down
a dead end. An opaque document reached the same `cross_origin_no_cors` verdict
a genuinely foreign asset gets, so the message told the author to "proxy or
download the asset to a same-origin URL". That is impossible advice, because
nothing is same-origin with an opaque origin and the asset is usually
same-origin by URL already.

Split the verdict into two reasons and give each its own note and remedy. The
opaque case now names the two fixes that work: `allow-same-origin` on the
sandbox, or `crossorigin` plus an `Access-Control-Allow-Origin` of `null` or
`*`. Opacity wins when both conditions hold, since it is the blocking one and
the one an author cannot fix by moving the asset.

The CLI scraper matches on the code prefix only (checkBrowser.ts:309), so the
new reason value does not touch that contract.

- Rames
2026-09-14 11:56:45 -07:00
..
2026-09-14 12:41:47 -04:00
2026-09-14 12:41:47 -04:00
2026-09-14 12:41:47 -04:00
2026-09-14 12:41:47 -04:00
2026-09-14 12:41:47 -04:00
2026-09-14 12:41:47 -04:00
2026-09-14 12:41:47 -04:00