Re: Data validation
Chris Jones <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
Benjamin Smedberg wrote: > I'm implementing some IPDL methods on the parent side: if I do parameter > validation and find that there is a parameter which is wrong, is there a > method I can call to say "the child process is broken, please abort it"? > You can return NS_ERROR_ILLEGAL_VALUE from the message handler. There's a lot of code in place to check for errors and non-OK return codes, but that code doesn't actually /do/ anything yet. I think that topic is worth a fuller discussion. Maybe at work week? Cheers, Chris