Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[Bug] navigator.storage.persist not saving data #14875

Closed
Nimdim opened this issue Sep 9, 2020 · 4 comments
Closed

[Bug] navigator.storage.persist not saving data #14875

Nimdim opened this issue Sep 9, 2020 · 4 comments
Labels
b:web-content Issues with websites. Check to see if the issue is GV or WebCompat too 🐞 bug Crashes, Something isn't working, .. needs:ac Needs Android Component Work

Comments

@Nimdim
Copy link

Nimdim commented Sep 9, 2020

Steps to reproduce

Enable persist mode via running the script:
navigator.storage.persist().then(function(val){console.log(val)});
I have tried also to bookmark page. But it didn't helped.

Testcase: https://testing123.offlinepad.com/test_persist.html

Expected behavior

Persist mode enabled.

Actual behavior

Persist mode not enabled.

Device information

  • Android device: Android 9
  • Fenix version: 80.1.2

┆Issue is synchronized with this Jira Task

@Nimdim Nimdim added the 🐞 bug Crashes, Something isn't working, .. label Sep 9, 2020
@github-actions github-actions bot added the needs:triage Issue needs triage label Sep 9, 2020
@kbrosnan kbrosnan changed the title [Bug] [Bug] navigator.storage.persist not saving data Sep 9, 2020
@kbrosnan
Copy link
Contributor

kbrosnan commented Sep 9, 2020

Do you have a sample page that uses this or know of a public testcase? Not seeing any examples in a quick look of MDN.

@kbrosnan kbrosnan added b:web-content Issues with websites. Check to see if the issue is GV or WebCompat too needs:gecko Issues that depend on Gecko but are not GV API changes needs:ac Needs Android Component Work labels Sep 9, 2020
@Nimdim
Copy link
Author

Nimdim commented Sep 9, 2020

Do you have a sample page that uses this or know of a public testcase? Not seeing any examples in a quick look of MDN.

Here is a test link:
https://testing123.offlinepad.com/test_persist.html
First it detects if persist mode is already on. And after that tries to enable it

@kbrosnan
Copy link
Contributor

kbrosnan commented Sep 9, 2020

Moved to bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1664002

@kbrosnan kbrosnan closed this as completed Sep 9, 2020
@kbrosnan kbrosnan removed the needs:gecko Issues that depend on Gecko but are not GV API changes label Sep 9, 2020
@kbrosnan
Copy link
Contributor

kbrosnan commented Sep 9, 2020

Android components issue. mozilla-mobile/android-components#3153

@kbrosnan kbrosnan removed the needs:triage Issue needs triage label Sep 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
b:web-content Issues with websites. Check to see if the issue is GV or WebCompat too 🐞 bug Crashes, Something isn't working, .. needs:ac Needs Android Component Work
Projects
None yet
Development

No branches or pull requests

2 participants