I have an extension that is already using a WebProgessListener to
watch for the user switching between different tabs so that it can
display and hide a toolbar when only the relevant tabs are displayed.
I'm want to be able to test, when the tab is opened and attempts to
load a document, if that fails. Due to any sort of connection failure,
or a 500-class response code.
I am looking at
https://developer.mozilla.org/en/XUL_School/Intercepting_Page_Loads ,
which sounds like where I should be, but I don't see anything in there,
or the nsIWebProgress or nsIWebProgressListener that seem to relate to
the ultimate success or failure of loading a document.
I put dump() statements in all of the onLocationChange,
onStateChange, onProgressChange, and onStatusChange in my listener, but
can't identify any calls to those methods that give me the information
I'm looking for.
Any suggestions as to what I'm missing? Thanks...
- Chris
--
Chris Ross
chris...@markmonitor.com