Skip to content

Firefox Private Browsing: A mutation operation was attempted on a database that did not allow mutations #4069

@boldtrn

Description

@boldtrn
  • Operating System version: Ubuntu
  • Browser version: Firefox 82.0.3 (Private Browsing)
  • Firebase SDK version: 8.0.2
  • Firebase Product: auth, firestore (auth, database, storage, etc)

Steps to reproduce:

When opening the website with Firefox private browsing the following error is thrown:

Uncaught Error: InvalidStateError: A mutation operation was attempted on a database that did not allow mutations.

This is thrown here:

function uk(a) {
    return new D(function (b, c) {
      var d = a.v.open("firebaseLocalStorageDb", 1);

      d.onerror = function (e) {
        try {
          e.preventDefault();
        } catch (f) {}

        c(Error(e.target.error));
      };

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions