Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include credentials when fetching wasm binaries (#5287)
* include credentials when fetching wasm binaries Fetch API does not include cookies/credentials by default as XHR would. To cause browsers to send a request with credentials included, add credentials: 'include' to the init object you pass to the fetch() method. * use { credentials: 'same-origin' } here to have same behavior as XMLHttpRequest would, since we never used xhr.withCredentials = true
- Loading branch information