Skip to content

Commit 60e4a07

Browse files
authored
Fix webchannel wrapper overrides (#7593)
* Fix webchannel wrapper overrides * Create fresh-frogs-heal.md * Update fresh-frogs-heal.md * Update fresh-frogs-heal.md
1 parent 25cda8a commit 60e4a07

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changeset/fresh-frogs-heal.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@firebase/firestore": patch
3+
"@firebase/webchannel-wrapper": patch
4+
---
5+
6+
Fix an issue where Firestore was incorrectly using XHR instead of fetch for streaming response.

packages/webchannel-wrapper/externs/overrides.js

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ goog.net.WebChannel.Options.forceLongPolling;
6666
/** @type {boolean|undefined} */
6767
goog.net.WebChannel.Options.detectBufferingProxy;
6868

69+
/** @type {boolean|undefined} */
70+
goog.net.WebChannel.Options.useFetchStreams;
71+
6972
/** @type {unknown} */
7073
goog.net.WebChannel.Options.xmlHttpFactory;
7174

0 commit comments

Comments
 (0)