Re: Necko e10s specs

Robert O'Callahan <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Organization Mozilla Corporation
Message-ID <[email protected]>
On 10/09/09 3:39 PM, Boris Zbarsky wrote:
> Robert O'Callahan wrote:
>> If the success or failure of the close operation is not visible to the
>> caller, can we make close() async for cross-domain calls? Or just make
>> it async always?
>
> Hmm. It _is_ visible, sort of, since if the close fails the callee can
> then call close() on the caller, for example....

OK, so you could have a testcase where whether close() is synchronous is 
observable, but that's not nearly as bad as if close() had to return 
something that depends on the action of onbeforeunload.

The real question is what would break if close() was asynchronous? It's 
already kind of asynchronous when you close your own window...

Rob
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.