Re: The behavior of constructors in IPDL

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Benjamin Smedberg wrote:
> All of the current APIs that we're wrapping behave in this way. For example,
> client code may .send() an XMLHttpRequest() (opening a channel) and
> immediately .cancel() it before the channel has even been created.

Even worse, in that example, it can .open() the XHR and then expect to 
be able to change properties of the channel directly...

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