User:Brahmana/Netwerk Docs/Image Loading v2: Difference between revisions

m
nits
(Correction : channel is not cached via imgCacheEntry. Notification callback replacement point.)
m (nits)
 
Line 29: Line 29:
# No loadGroup - null is explicitly passed. A new loadGroup is assigned later and this has nothing to do with the document's loadGroup
# No loadGroup - null is explicitly passed. A new loadGroup is assigned later and this has nothing to do with the document's loadGroup
# notificationCallbacks are those of the document's loadGroup - which should still refer to the docShell of the document
# notificationCallbacks are those of the document's loadGroup - which should still refer to the docShell of the document
## However in imgRequest::Init this callback is replaced with imgRequest. The old callback is cached in mPrevChannelSink. Except for nsIChannelEventSink all other GetInterface() are passed to the old callback.
#* However in imgRequest::Init this callback is replaced with imgRequest. The old callback is cached in mPrevChannelSink. Except for nsIChannelEventSink all other GetInterface() requests to imgRequest (via channel->notificationCallbacks->GetInterface()) are passed to the old callback.
95

edits