On Tue, Nov 24, 2009 at 6:12 PM, Rob Ennals <rob.enn...@gmail.com> wrote: > If you run your browser in "super-warnings-enabled" mode then you > could have it warn you if you did anything remotely suspect between > calls to localStorage (e.g. calling a function defined by an external > javascript file or calling an API).
How would the browser distinguish between storage-operation-1 inadvertent-API-call storage-operation-2-that-should-be-atomic-with-1 and storage-operation-1 API-calls-to-gather-data-for-another-transaction storage-operation-2-that-is-unrelated-to-1 ? Seems like that's a necessary distinction if it's not to just warn all over the place uselessly! Mike