Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox displays incorrect isPrivate value when the site URL is HTTP #33

Open
mritg opened this issue May 20, 2023 · 1 comment
Open

Comments

@mritg
Copy link

mritg commented May 20, 2023

OS:- MacOs ventura(13.2.1)
Browser: Firefox(113.0.1)

When the site URL is HTTP, the isPrivate value is incorrectly displayed as true instead of false in normal mode.

Solution:

const firefoxPrivateTest = () => {
  const db = indexedDB.open('test');

    db.onerror = function () {
      __callback(true);
    };
    db.onsuccess = function () {
      __callback(false);
    };
};
@SuperPat45
Copy link

SuperPat45 commented Jan 10, 2024

This solution no more works since version 115...
OK in version 114.

We still need to find a better way for the newer versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants