Skip to content

Fix: [for cherry-picking] Corrected cross-origin response metadata, doc - #3

Closed
qodo-code-review[bot] wants to merge 3 commits into
refactor/website-compat-cifrom
fix/remediation-2cacfa86-b54453
Closed

Fix: [for cherry-picking] Corrected cross-origin response metadata, doc#3
qodo-code-review[bot] wants to merge 3 commits into
refactor/website-compat-cifrom
fix/remediation-2cacfa86-b54453

Conversation

@qodo-code-review

@qodo-code-review qodo-code-review Bot commented Sep 6, 2026

Copy link
Copy Markdown

Fixed Findings

  • Preserve CORS response types
  • Document sandbox matrix review
  • Restore sandbox regression coverage

Automated fix from agentic review of #2

Qodo Logo


Summary by cubic

Fixes cross-origin fetch response metadata so __zpFetchMeta.type now reports cors for cross-origin CORS requests instead of falling back to basic or opaque. Adds a comment in web/runtime-prelude.js documenting the sandbox-boundary change against the PHASE2 plan E1 escape matrix.

  • Response type now reflects the actual CORS mode: cors for cross-origin CORS, opaque for cross-origin no-cors, basic otherwise.

Written for commit 8b763ac. Summary will update on new commits.

Review in cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants