Re: Necko e10s specs

Chris Jones <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <8-WdnW74daSjrT3XnZ2dnUVZ_tCdnZ2d__49800.2611486756$1252012238$gmane$org@mozilla.org>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.