O'Reilly logo
  • Pasha Craydon thinks this is interesting:

he local and sync storage APIs are the same, except for the storage area object they operate on, so you can set an optional wantSync to true for sync storage. In Chapter 2, when these functions are first used, the argument is omitted, so the entry ID is stored in local storage, which is what is needed for the entry ID, because it’s inherently local.


Cover of Programming Chrome Apps