Benjamin Smedberg wrote:
On 9/2/09 7:09 PM, Robert O'Callahan wrote:

Are you guys aware of the HTML5 spec requirements surrounding the
"storage mutex"?

Basically we need to ensure that we don't have races where Necko
modifying cookies makes them appear to change while content script is
running.

I was vaguely aware, but we got a lot more aware of them today. I've posted
some questions/proposals to WhatWG: the current global storage mutex is
really unpleasant and I think we'd like to avoid it if it's not too painful
to do so.


Also, what we proposed solves the problem Rob posed, in a literal sense, without introducing behaviors that wouldn't happen in the single-event-loop case.

What it doesn't guarantee is "sequential consistency" of cookie data wrt to run-to-completion semantics when scripts from the same domain run concurrently, in separate processes. But I don't know if we want to allow that anyway ...

Cheers,
Chris
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to