Skip to content

Conversation

psychedelicious
Copy link
Collaborator

Summary

Must set cross origin whenever we load an image from a URL to prevent race conditions where browser caches an image with no CORS, then canvas attempts to load it with CORS, resulting in browser rejecting the request before it is made

Related Issues / Discussions

n/a

QA Instructions

n/a

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added the frontend PRs that change frontend files label Sep 3, 2025
@psychedelicious psychedelicious enabled auto-merge (rebase) September 3, 2025 12:57
Must set cross origin whenever we load an image from a URL to prevent
race conditions where browser caches an image with no CORS, then canvas
attempts to load it with CORS, resulting in browser rejecting the
request before it is made
@maryhipp maryhipp enabled auto-merge (rebase) September 3, 2025 14:09
@maryhipp maryhipp merged commit 1db55b0 into main Sep 3, 2025
13 checks passed
@maryhipp maryhipp deleted the psyche/fix/ui/cors-race branch September 3, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants