gecko-dev/dom
Bill McCloskey 79d1a76b44 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 12:04:31 -07:00
..
animation Merge m-c to inbound. a=merge 2017-05-23 11:15:49 -04:00
asmjscache
audiochannel Bug 1299390 - part 5: Remove useless AudioChannelService code. r=alwu 2017-05-18 09:51:53 +08:00
base Bug 1365184 - Fix docgroup mismatch during cycle collection (r=smaug) 2017-05-23 12:04:31 -07:00
battery
bindings Merge m-c to inbound. a=merge 2017-05-19 12:25:23 -04:00
broadcastchannel Backed out changeset c3251f5022dd (bug 1359718) 2017-05-23 19:12:25 +02:00
browser-element Bug 1299390 - part 5: Remove useless AudioChannelService code. r=alwu 2017-05-18 09:51:53 +08:00
cache Bug 1359005 - Cleanup the use of PBlob in StructuredCloneHolder - part 1 - protocols, r=smaug 2017-05-23 07:49:40 +02:00
canvas Bug 1357090 - Check that a texture's level_base is not too high. r=daoshengmu 2017-05-22 09:53:23 -04:00
commandhandler Bug 1361745 - Part 2: Avoid a double hashtable lookup for insertions in nsControllerCommandGroup::AddCommandToGroup; r=mystor 2017-05-08 10:02:04 -04:00
console Bug 1363307 - Console.timeEnd(label) should warn if 'label' in an unknwon timer, r=bgrins 2017-05-11 14:36:12 -07:00
crypto Bug 1363560 - Name more runnables (r=mccr8) 2017-05-09 21:53:25 -07:00
encoding
events Bug 1364570 - Dispatch link prefetch events asynchronously to avoid DocGroup mismatches (r=bz) 2017-05-23 12:04:31 -07:00
fetch Bug 1312515 - Part 2: Lower the channel's priority if this Fetch is created from tracking script. r=baku 2017-05-19 01:29:00 -04:00
file Backed out changeset 3ac94ff745fc (bug 1359718) for bustage in IPCBlobInputStreamChild.cpp. r=backout on a CLOSED TREE 2017-05-23 19:13:14 +02:00
filehandle Bug 1359490 - add an event loop spinning abstraction function; r=gerald 2017-05-15 09:34:19 -04:00
filesystem Bug 1361511 - change ownership assertion mechanism for various DOM classes; r=baku 2017-05-03 11:48:54 -04:00
flyweb Bug 1346507 - Fix. r=mccr8 2017-05-13 00:53:14 -04:00
gamepad Bug 1362284 - Assign the background thread before flushing pending events at GamepadEventChannelParent; r=Lenzak 2017-05-05 01:21:39 +08:00
geolocation
grid
html Merge inbound to central, a=merge 2017-05-22 16:26:12 -07:00
imptests Bug 1317383 - Part 5: Update expected results for wpt typedarray and wasm tests. r=bbouvier 2017-05-02 14:21:04 -07:00
indexedDB Backed out changeset c3251f5022dd (bug 1359718) 2017-05-23 19:12:25 +02:00
interfaces Merge m-c to autoland. a=merge 2017-05-11 11:30:47 -04:00
ipc Backed out changeset 3ac94ff745fc (bug 1359718) for bustage in IPCBlobInputStreamChild.cpp. r=backout on a CLOSED TREE 2017-05-23 19:13:14 +02:00
json
jsurl Bug 1363560 - Name more runnables (r=mccr8) 2017-05-09 21:53:25 -07:00
locales Bug 1366415: Unprefix mozAutoGainControl and mozNoiseSuppression w/deprecation warnings. r=jesup,smaug 2017-05-19 20:57:44 -04:00
manifest Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
mathml
media Bug 1366707 - update callers of cubeb_device_collection_destroy. r=kinetik 2017-05-23 11:30:05 +03:00
messagechannel Backed out changeset c3251f5022dd (bug 1359718) 2017-05-23 19:12:25 +02:00
network Bug 1359005 - Cleanup the use of PBlob in StructuredCloneHolder - part 1 - protocols, r=smaug 2017-05-23 07:49:40 +02:00
notification Bug 1351034 - Remove WEB_NOTIFICATION_PERMISSION_REMOVED. f=chutten; r=kitcambridge 2017-05-09 09:24:01 -07:00
offline
performance
permission
plugins Bug 1339105 Part 3: Move NPAPI windows process sandbox file rules into SandboxBroker. r=jimm 2017-05-22 20:41:28 +01:00
power Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
presentation
promise Bug 1358879 - Optimize handling of internally-created Promise objects. r=bz 2017-05-03 12:46:00 +02:00
push Bug 1345665 - Implement the "aes128gcm" push decryption scheme. r=mt 2017-05-11 22:03:26 -07:00
quota Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
res
script Bug 1365187 - When fetching a dependent module wait for any ongoing fetch of the module and its dependents to finish rather than creating a new load request r=smaug 2017-05-23 11:54:11 -04:00
secureelement
security Bug 1363634 - rewrite test_style_crossdomain.html. r=ckerschb 2017-05-23 09:02:06 +08:00
smil Bug 1363880 - Enable crashtest for SVG that no longer cause panic. r=birtles 2017-05-17 05:50:58 +09:00
storage Bug 1366101 - Remove extra warnings in SessionStorageManage, r=smaug 2017-05-19 17:26:42 +02:00
svg Bug 1240275 - Support SVG 2 radialGradient fr attribute. r=cam r=peterv (see comment 16) 2017-05-23 07:15:02 +01:00
system Backed out changeset 20127bd6337b (bug 1363966) for crashing e.g. in browser/base/content/test/permissions/browser_temporary_permissions.js. r=backout 2017-05-14 22:36:26 +02:00
tests Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00
time
u2f
url Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
vr
webauthn Bug 1364991 - Make U2FTokenManager use const where possible r=qdot 2017-05-22 16:40:29 -07:00
webbrowserpersist Bug 1352958 - Use UNIFIED_SOURCES into dom/webbrowserpersist. r=overholt 2017-05-17 18:19:53 +09:00
webidl Bug 1240275 - Support SVG 2 radialGradient fr attribute. r=cam r=peterv (see comment 16) 2017-05-23 07:15:02 +01:00
workers Bug 1360185 - Use of IPCBlob in IndexedDB - part 6 - FileReaderSync should check if the streams are already closed, r=janv 2017-05-23 07:53:35 +02:00
worklet Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00
xbl Bug 1364367 - rewrite test_bug379959.html. r=ckerschb 2017-05-23 09:02:06 +08:00
xhr Bug 1312515 - Part 1: Lower the channel's priority if this XHR is created from tracking script. r=baku 2017-05-19 01:28:00 -04:00
xml Bug 1365506 - fix XHTML/XUL tests that use data: URI. r=smaug 2017-05-23 09:02:06 +08:00
xslt Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00
xul Bug 1363481 - Add the old attribute value as a parameter to Element::AfterSetAttr r=bz 2017-05-18 14:09:01 -07:00
jar.mn
moz.build Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00