Boris Zbarsky wrote:
Michael Vincent van Rantwijk wrote:

I hate to say, but the mozillaZine page changed today, and so has the output, so now that also no longer works :(


OK.  So:

1)  Create a minimal page showing the issue so we won't have this problem
    anymore.
2)  Tell me what the URI of this page is.

Ok, I will and tell you the URL when I'm done with it.

3) Clearly describe what behavior you're seeing on this page (since you've said
the behavior has changed, but haven't said _how_).

The QI call no longer works i.e. is also undefined now.

shouldLoad() in our component is called for "./image/new/title.gif" but it doesn't get the time to handle this request


Handle it in what way?

'Handle' as in checking if a given URL is allowed and returning any of the following:


const REJECT_REQUEST = Components.interfaces.nsIContentPolicy.REJECT_REQUEST;
const REJECT_TYPE = Components.interfaces.nsIContentPolicy.REJECT_TYPE;
const REJECT_SERVER = Components.interfaces.nsIContentPolicy.REJECT_SERVER;
const REJECT_OTHER = Components.interfaces.nsIContentPolicy.REJECT_OTHER;
const ACCEPT = Components.interfaces.nsIContentPolicy.ACCEPT;


based on filters i.e. all or parts of a given URL.

because a new one is fired right after it for "/image/default/sky.png"


I'd expect that you would get another shouldLoad call any time after you return from the first shouldLoad.... If you _don't_ return from shouldLoad but spin the event loop, you should expect to be reentered. We should probably document that.

We always return any of the above values but we are cutoff in the middle of our test sequence by that extra unexpected call to shouldLoad.


This happens with Mozilla build ID 2005050105, but it still works with Mozilla build ID 2005217


The latter isn't exactly a valid build id...

Sorry, I forgot to check the build ID but it is 2005021712

If this is a recent regression, can you narrow down when it broke using builds on archive.mozilla.org?

Hey, that is pretty cool, I will, thanks. _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to