gecko-dev/uriloader
Bill McCloskey 691628a34e Bug 1364570 - Dispatch link prefetch events asynchronously to avoid DocGroup mismatches (r=bz)
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
2017-05-23 13:56:49 -07:00
..
base Add a new flag to nsIWebProgressListener for redirects (bug 1342989). r=smaug 2017-04-01 20:07:47 +03:00
exthandler Bug 1364550 - Get all extensions for a MIME type and not just the preferred one (macOS). r=baku 2017-05-18 02:37:00 +08:00
prefetch Bug 1364570 - Dispatch link prefetch events asynchronously to avoid DocGroup mismatches (r=bz) 2017-05-23 13:56:49 -07:00
moz.build Bug 1345506 - add BUG_COMPONENT to uriloader/* files. r=paolo 2017-03-09 15:06:25 -05:00