We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cac9165 commit 2af182aCopy full SHA for 2af182a
packages/firestore/src/platform/browser/webchannel_connection.ts
@@ -27,7 +27,8 @@ import {
27
EventTarget,
28
StatEvent,
29
Event,
30
- Stat
+ Stat,
31
+ FetchXmlHttpFactory
32
} from '@firebase/webchannel-wrapper';
33
34
import { Token } from '../../api/credentials';
@@ -208,7 +209,9 @@ export class WebChannelConnection extends RestConnection {
208
209
}
210
211
if (this.useFetchStreams) {
- request.useFetchStreams = true;
212
+ // When b/307942499 is fixed, revert to the following line:
213
+ // request.useFetchStreams = true;
214
+ request.xmlHttpFactory = new FetchXmlHttpFactory({});
215
216
217
this.modifyHeadersForRequest(
0 commit comments