Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Query regarding transition to gecko 2.0

7 views
Skip to first unread message

Animesh

unread,
Jan 5, 2012, 1:46:50 AM1/5/12
to
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?
Also nsNetUtil.h is not getting compiled as ToProvidedString (inside
NS_MakeRandomInvalidURLString) is not defined ,so is commenting out
NS_MakeRandomInvalidURLString the right option?

Philipp Wagner

unread,
Jan 5, 2012, 3:17:48 AM1/5/12
to
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
0 new messages