Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added crossorigin to the script examples #40

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Conversation

pmeenan
Copy link
Collaborator

@pmeenan pmeenan commented Jul 10, 2023

This fixes the examples to conform to being "not cors-opaque". By default, <script> tags will fetch in no-cors mode which makes their payload opaque. To keep the cors-readable requirement for dictionary and compressed cross-origin responses they can't be fetched in no-cors mode.

For #39

@pmeenan pmeenan requested a review from yoavweiss July 10, 2023 15:20
Copy link
Collaborator

@yoavweiss yoavweiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pmeenan pmeenan merged commit 2868a1a into WICG:main Jul 11, 2023
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