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

Ability to influence XMLHttpRequest object creation #134

Closed
t3hmrman opened this issue May 4, 2015 · 1 comment
Closed

Ability to influence XMLHttpRequest object creation #134

t3hmrman opened this issue May 4, 2015 · 1 comment

Comments

@t3hmrman
Copy link

t3hmrman commented May 4, 2015

While using fetch to write a FirefoxOS app, I've realized that I need to be able to pass in creation params to the underlying XMLHttpRequest.

I apologize if there is already a way to do this that I missed, but in my case I need the XMLHttpRequest creation (on line 245) to actually look like this:

var xhr = new XMLHttpRequest({mozSystem: true});

https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest
(See the CORS section)

@dgraham
Copy link
Contributor

dgraham commented May 4, 2015

The XMLHttpRequest instance is an implementation detail that is not included as part of the public Fetch API.

@dgraham dgraham closed this as completed May 4, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 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