Skip to content

sdk 10.3.0 changed firestore webchannel to use xhr instead of fetch #7581

Closed
@atsjo

Description

@atsjo

Operating System

Windows 11

Browser Version

Chrome/Edge latest

Firebase SDK Version

10.3.0

Firebase SDK Product:

Firestore

Describe your project's tooling

Angular app using esbuild builder

Describe the problem

In sdk 10.2.0 fetch is used for firestore webchannel (I can se that from network tab in devtools, I think it's been used since 9.0), but 10.3.0 changed firestore webchannel to use xhr instead.

Overriding via undocumented useFetchStreams param in initializeFirestore doesn't work anymore either, so guessing this is a bug, and related to #7569. This is supposed to "fix how we enable fetch streams" to correct a bug, but seems to completely disable it. I can observe more aborted/cancelled communication in devtools with xhr, but it's still working...

Steps and code to reproduce issue

upgrade to 10.3.0 and observe communication via devtools

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions