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

NS_BINDING_ABORTED

492 views
Skip to first unread message

Oliveiros Cristina

unread,
Jan 9, 2009, 8:16:55 AM1/9/09
to dev-tec...@lists.mozilla.org
Dear All,

I am not sure if this is the right list to ask this question,
if it doesn't, please would you be so kind as to redirect me to the right one?

What is exactly the meaning of receiving an NS_BINDING_ABORTED code on a Stop event in nsIWebProgressListener::OnStateChange() method?

On .h it is said that the request failed due to some user action.
Like what? Stopiing page loading? Is it possible that this error is somehow generated without user action?

Thanks in advance for your help,
Best,
Oliveiros

Boris Zbarsky

unread,
Jan 9, 2009, 11:28:13 AM1/9/09
to
Oliveiros Cristina wrote:
> What is exactly the meaning of receiving an NS_BINDING_ABORTED code on a Stop event

Something canceled the load, basically.

> On .h it is said that the request failed due to some user action.
> Like what? Stopiing page loading?

Yes, that would send NS_BINDING_ABORTED.

> Is it possible that this error is somehow generated without user action?

Yes. Redirects, for example, will cancel the pre-redirect channel with
NS_BINDING_ABORTED.

There are other cases it could come up in as well.

-Boris

0 new messages