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

Export the definition of CORS-same-origin #3605

Merged
merged 1 commit into from
Apr 3, 2018

Conversation

csnardi
Copy link
Contributor

@csnardi csnardi commented Apr 2, 2018

This is used by the CSSOM spec, and so should be exported for automatic linking.


/acknowledgements.html ( diff )
/urls-and-fetching.html ( diff )

source Outdated
@@ -6841,7 +6841,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<p>A <span data-x="concept-response">response</span> whose <span
data-x="concept-response-type">type</span> is "<code data-x="">basic</code>", "<code
data-x="">cors</code>", or "<code data-x="">default</code>" is <dfn>CORS-same-origin</dfn>. <ref
data-x="">cors</code>", or "<code data-x="">default</code>" is <dfn data-export="">CORS-same-origin</dfn>. <ref
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for exporting this one! You'll need to add a newline after <dfn and then rewrap the next line. We have a 100 limit for most columns.

@domenic
Copy link
Member

domenic commented Apr 3, 2018

As a tangent, @annevk, any idea why this lives in HTML instead of Fetch?

@annevk
Copy link
Member

annevk commented Apr 3, 2018

No, I think we should refactor how all this works still.

@annevk
Copy link
Member

annevk commented Apr 3, 2018

(Well, the reason is that Ian factored it as such at some point to integrate with CORS, when fetch wasn't defined in a standalone specification.)

This is used by the CSSOM spec, and so should be exported for automatic linking.
@csnardi
Copy link
Contributor Author

csnardi commented Apr 3, 2018

I fixed up the line wrapping, sorry about that!

Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

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

No need to apologize for that.

@annevk annevk merged commit 6d9c460 into whatwg:master Apr 3, 2018
@csnardi csnardi deleted the export-cors-same-origin branch April 3, 2018 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants