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