зеркало из https://github.com/mozilla/gecko-dev.git
691628a34e
When we send out a prefetch request, we act as if the load came from one of the possibly many documents containing <link> element for the given URL. The docgroup assigned to this request is derived from this document. Later, when the load finishes, the OnStopRequest code runs in a runnable labeled with this docgroup. OnStopRequest dispatches a load event to *all* the link elements, including some that might be in different docgroups from the OnStopRequest runnable. This generates an assertion. To fix this, I decided to dispatch the load events asynchronously. I'm hoping the extra round trip through the event loop shouldn't hurt us too much since I doubt anyone actually listens for these events. MozReview-Commit-ID: FTkjuHO7RFp |
||
---|---|---|
.. | ||
OfflineCacheUpdateChild.cpp | ||
OfflineCacheUpdateChild.h | ||
OfflineCacheUpdateGlue.cpp | ||
OfflineCacheUpdateGlue.h | ||
OfflineCacheUpdateParent.cpp | ||
OfflineCacheUpdateParent.h | ||
POfflineCacheUpdate.ipdl | ||
moz.build | ||
nsCPrefetchService.h | ||
nsIOfflineCacheUpdate.idl | ||
nsIPrefetchService.idl | ||
nsOfflineCacheUpdate.cpp | ||
nsOfflineCacheUpdate.h | ||
nsOfflineCacheUpdateService.cpp | ||
nsPrefetchService.cpp | ||
nsPrefetchService.h |