Skip to content

Improve Management of Local Storage Reset  #276

@pchainho

Description

@pchainho

Improve Storage Manager implementation in order to warn the user when availability storage is reaching a limit and / or when requesting storage persistence we got a false result (currently, the following log is printed: "Storage may be cleared by the UA under storage pressure" at https://github.com/reTHINK-project/dev-hyperty-toolkit/blob/develop/resources/factories/runtimeFactory.js#L72-L76).

We suspect DSM reset behavior was caused by this.

Check:
https://storage.spec.whatwg.org/#dom-storagemanager-persist

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions