XMLHttpRequest withCredentials defaults to "true"

Summary:
see https://github.com/facebook/react-native/issues/14063
Closes https://github.com/facebook/react-native/pull/14064

Differential Revision: D5117654

Pulled By: ericvicenti

fbshipit-source-id: 7c3d376f5251e3b28c34383c5b58658e17d6c032
This commit is contained in:
Daniel Zlotin 2017-05-25 10:52:38 -07:00 committed by Facebook Github Bot
parent f702cbecba
commit 9b4a644fec

View File

@ -119,7 +119,7 @@ class XMLHttpRequest extends EventTarget(...XHR_EVENTS) {
status: number = 0;
timeout: number = 0;
responseURL: ?string;
withCredentials: boolean = false
withCredentials: boolean = true
upload: XMLHttpRequestEventTarget = new XMLHttpRequestEventTarget();