Skip to content

Commit 8524375

Browse files
committed
Reword error message to not explicitly mention Firefox, since InvalidStateError can presumably happen for other reasons as well
1 parent 7505243 commit 8524375

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/firestore/src/local/simple_db.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,11 @@ export class SimpleDb {
326326
reject(
327327
new FirestoreError(
328328
Code.FAILED_PRECONDITION,
329-
'Unable to open an IndexedDb connection; this may be due to running in a ' +
330-
'Firefox private browsing session, in which IndexedDb is not supported ' +
331-
'(https://goo.gle/3ymSNyf): ' +
332-
error
329+
'Unable to open an IndexedDb connection. This could be due to running in a ' +
330+
'private browsing session on a browser whose private browsing sessions do not ' +
331+
'support IndexedDb. (' +
332+
error +
333+
')'
333334
)
334335
);
335336
} else {

0 commit comments

Comments
 (0)