I haven't been following the localStorage mutex discussion in detail, but have we already rejected the idea of having content specifically ask for the mutex via a transaction callback, similar to how web databases work?
localStorgage.atomicTransaction(function() {
localStorage["counter"]++;
});
Adam
