Hello,

I use imgILoader::LoadImage to load images from my chrome directory. When I
try to load images that don't exist LoadImage behaves strange:

The first time I call LoadImage, it returns NS_ERROR_FILE_NOT_FOUND and
nsnull as an imgIRequest. This is ok.

When I call it a second or third time, with the same filename, LoadImage
returns NS_OK and an imgIRequest object. This object alwys stays in
imageStatus STATUS_NONE - it behaves the same way an image that is going to
be loaded behaves and I can't find out that it will never be loaded.

Shouldn't LoadImage always return NS_ERROR_NOT_FOUND? Any idea why this
happens?

Kind regards,
René


_______________________________________________
mozilla-layout mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to