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

Body.document() #204

Closed
Mouvedia opened this issue Sep 28, 2015 · 3 comments
Closed

Body.document() #204

Mouvedia opened this issue Sep 28, 2015 · 3 comments

Comments

@Mouvedia
Copy link

To be on par with xhr you need that method.
https://fetch.spec.whatwg.org/#body vs https://xhr.spec.whatwg.org/#xmlhttprequestresponsetype

related: w3c/ServiceWorker#462

@Mouvedia Mouvedia changed the title where is Body.document()? Body.document() Sep 28, 2015
@mislav
Copy link
Contributor

mislav commented Sep 28, 2015

This library is just the polyfill for the functionality described in the fetch spec. Nothing of the sort is described in the spec right now. If you want this functionality added to the spec, you'll have to suggest it there. Sorry!

@Mouvedia
Copy link
Author

@mislav the suggestion existed but it was closed.
If you think it would be useful ask to reopen.

@mislav
Copy link
Contributor

mislav commented Sep 28, 2015

I'm not sure what document() does, but if you think it's useful, please do suggest that it gets reconsidered for the fetch standard. It's just that you'll have to do it in the other repo rather than here. Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants