Of course I figured this out just after posting to the list. It seems
that dispatch2 check for the listener method with hasOwnProperty, so I
had to move my shouldCacheRequest method out of my prototype and into
my constructor.

Thanks,

--Nathan

On Fri, Feb 26, 2010 at 5:04 PM, Nathan Mische <[email protected]> wrote:
> Hello,
>
> I'm working on a custom tabCache listener to cache AMF (binary)
> responses and I've noticed that my listener receives onStartRequest
> and onStopRequest notification for every request, however
> onDataAvailable is only notified if I add the appropriate content type
> to the extensions.firebug.cache.mimeTypes pref. Looking at the code,
> it seems that Firebug.TabCacheModel.shouldCacheRequest should check my
> listeners own shouldCahceRequest function, however this does not
> appear to be happening. Any ideas why this may be? (I can post code if
> necessary.)
>
> Thanks,
>
> --Nathan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to