File tree 2 files changed +9
-2
lines changed
packages/firestore/src/platform/browser
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @firebase/firestore " : patch
3
+ ---
4
+
5
+ Rolling back the use of useFetchStreams, which has lead to hanging and incomplete queries.
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ import {
27
27
EventTarget ,
28
28
StatEvent ,
29
29
Event ,
30
- Stat
30
+ Stat ,
31
+ FetchXmlHttpFactory
31
32
} from '@firebase/webchannel-wrapper' ;
32
33
33
34
import { Token } from '../../api/credentials' ;
@@ -208,7 +209,8 @@ export class WebChannelConnection extends RestConnection {
208
209
}
209
210
210
211
if ( this . useFetchStreams ) {
211
- request . useFetchStreams = true ;
212
+ // TODO(b/307942499): switch to `useFetchStreams` once WebChannel is fixed.
213
+ request . xmlHttpFactory = new FetchXmlHttpFactory ( { } ) ;
212
214
}
213
215
214
216
this . modifyHeadersForRequest (
You can’t perform that action at this time.
0 commit comments