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

[BUG] Error: navigator.storage is undefined #293

Closed
Hth4nh opened this issue Nov 21, 2024 · 3 comments
Closed

[BUG] Error: navigator.storage is undefined #293

Hth4nh opened this issue Nov 21, 2024 · 3 comments

Comments

@Hth4nh
Copy link

Hth4nh commented Nov 21, 2024

Describe the bug
Error if using http://, ok if using https://

TypeError: navigator.storage is undefined
    setSource moz-extension://cfee3c9e-79a5-4c8c-a6bb-e4938e50f180/player/FastStreamClient.mjs:529
    addSource moz-extension://cfee3c9e-79a5-4c8c-a6bb-e4938e50f180/player/FastStreamClient.mjs:472
    recieveSources moz-extension://cfee3c9e-79a5-4c8c-a6bb-e4938e50f180/player/main.mjs:126
    recieveSources moz-extension://cfee3c9e-79a5-4c8c-a6bb-e4938e50f180/player/main.mjs:125
    <anonymous> moz-extension://cfee3c9e-79a5-4c8c-a6bb-e4938e50f180/player/main.mjs:21
FastStreamClient.mjs:607:15

Version
newest

Platform
Firefox (Floorp newest)

@Andrews54757
Copy link
Owner

I believe this is caused by the browser blocking access to storage APIs for privacy reasons. Try turning off extended privacy protection.

@Hth4nh
Copy link
Author

Hth4nh commented Nov 24, 2024

I believe this is caused by the browser blocking access to storage APIs for privacy reasons. Try turning off extended privacy protection.

I turned off the shield icon on the URL bar, but it still gives me the error like this:

TypeError: navigator.storage is undefined
    setSource moz-extension://cfee3c9e-79a5-4c8c-a6bb-e4938e50f180/player/FastStreamClient.mjs:529
    addSource moz-extension://cfee3c9e-79a5-4c8c-a6bb-e4938e50f180/player/FastStreamClient.mjs:472
    recieveSources moz-extension://cfee3c9e-79a5-4c8c-a6bb-e4938e50f180/player/main.mjs:126
    recieveSources moz-extension://cfee3c9e-79a5-4c8c-a6bb-e4938e50f180/player/main.mjs:125
    <anonymous> moz-extension://cfee3c9e-79a5-4c8c-a6bb-e4938e50f180/player/main.mjs:21

I believe the problem here is that I was accessing a page using the http protocol and not https

@Andrews54757
Copy link
Owner

Alright, I made it so that it sets storage limit to 2GB when navigator.storage is not available.

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