Am 05.01.2012 07:46, schrieb Animesh:
> I wanted to ask whether nsINonBlockingAlertService.h has been
> intentionally removed from gecko version 2.0 or the file is missing in
> SDK. And if it has been removed what is it's substitute?
It has been removed, see
https://bugzilla.mozilla.org/show_bug.cgi?id=563114. If you have
questions like this, it's always good to search bugzilla or use the
mercurial history feature to see at which bug things were changed, what
was the rationale behind it and often also a proposed replacement.
Unfortunately, in this case, there seems to be no direct replacement. So
it really depends what you used it for, maybe an information bar or a
modal alert might be an option.
> Also nsNetUtil.h is not getting compiled as ToProvidedString (inside
> NS_MakeRandomInvalidURLString) is not defined ,so is commenting out
> NS_MakeRandomInvalidURLString the right option?
what happens if you include nsID.h?
Philipp