Skip to content

Conversation

@AndrewJakubowicz
Copy link
Contributor

@AndrewJakubowicz AndrewJakubowicz commented Oct 6, 2022

Upstream a recommended header that enforces CORS.
Documentation for the header: https://html.spec.whatwg.org/multipage/origin.html#coep

DO NOT SUBMIT: In current state this is a breaking change. See comment: #338 (comment)

@AndrewJakubowicz AndrewJakubowicz force-pushed the upstream-cross-origin-embedder-policy branch from 0f8d125 to 1268c8a Compare October 10, 2022 16:49
@AndrewJakubowicz AndrewJakubowicz marked this pull request as ready for review October 10, 2022 17:22
@AndrewJakubowicz AndrewJakubowicz removed the request for review from aomarks October 10, 2022 17:30
@AndrewJakubowicz
Copy link
Contributor Author

On further testing this change would be breaking. For example, we often use resources from another origin for demonstrating example images. Any image elements without the crossorigin attribute would break. E.g.:

Screen Shot 2022-10-10 at 10 34 58 AM

Two proposed options:

  • Make this opt-in (if possible).
  • Revert this change and keep this as an internal only change.

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.

2 participants