jml wrote:
Also, where can I found document for DOMString,
DOMString is the same as AString, I think...
From a C++ point of view:and what does the "raise exception" mean in the XPCOM world -- I mean at the binary level, is it a C/C++ exception? Or operating system exception?
NS_IMETHODIMP nsFoo::Bar() {
return NS_ERROR_FAILURE;
}
So basically, an exception happens (gets thrown) if NS_FAILED(return_value) is true.
In Javascript, this corresponds to the normal exceptions that the language provides.
--
Fiat iustitia et pereat mundus.
