Skip to content

BB10 browser not storing personal schedule #24

Description

@themadone68

Whilst at the recent Nine Worlds con, I noticed that my Blackberry was forgetting my personal schedule whenever the page reloaded (which happens automatically far too often). I tracked it down to it throwing an exception when trying to access localStorage so it's using the internal storage provided by VarStore() instead of making use of sessionStorage which works just fine.

Would it be possible to expand out the code that sets up the storage so that it also tries the session storage in the event of local storage throwing an exception? Something maybe like this:

try {
  this.store = localStorage || sessionStorage || (new KonOpas.VarStore());
} catch (e) {
  try {
    this.store = sessionStorage || (new KonOpas.VarStore());
  } catch (e) {
    this.store = new KonOpas.VarStore();
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions