gecko-dev/dom
Nathan Froyd 835e1550cb Bug 1212027 - part 5 - add LoneManagedOrNull for simplifying a lot of upcoming code; r=jld
A lot of existing code has variations on:

  if (ManagedPFooChild().Length()) {
    ...(ManagedPFooChild()[0])...
  }
  // Do something with nullptr, or some other action.

It's pretty reasonable to repeat this code when the managed protocols
are stored in an array; the code gets much less nice when managed
protocols are stored in a hashtable.  Let's write a small utility
function to handle those details for us.  Then when we change the
underlying storage, we only need to update this function, rather than a
bunch of callsites.

ProtocolUtils.h is included by all the generated IPDL headers, so
LoneManagedOrNull should be available everywhere the above pattern would
be encountered.
2015-10-07 20:15:56 -04:00
..
activities Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
alarm Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
animation Bug 1208929 - Turn on -Wshadow for dom/animation; r=glandium 2015-09-29 13:22:24 +09:00
apps merge mozilla-inbound to mozilla-central a=merge 2015-10-14 12:46:09 +02:00
archivereader Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv 2015-10-05 09:38:14 -07:00
asmjscache
audiochannel Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc 2015-10-07 20:06:47 +01:00
base Bug 1215236 - "Remove compilation warnings in StructuredCloneHolder". r=smaug 2015-10-15 11:37:00 +02:00
battery Bug 1191918 - Remove printf debugging r=me 2015-09-29 16:48:04 -05:00
bindings Bug 1085293 - WebIDL Iterable Implementation and Tests; r=bz 2015-10-15 12:06:13 -07:00
bluetooth Bug 1203821 - [03] Restore missing bug 1212729 change, r=shuang 2015-10-13 13:49:33 +08:00
broadcastchannel Bug 1212842 - part 2 - test for BroadcastChannel used when the document is bfcached, r=smaug 2015-10-13 12:05:01 +01:00
browser-element Bug 1214133 - Preload ExtensionContent.jsm to get rid of the overhead. r=fabrice 2015-10-13 17:39:52 +08:00
cache Bug 1215290 Cache API should store unfiltered Response URL. r=ehsan 2015-10-15 14:07:49 -07:00
camera Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc 2015-10-07 20:06:47 +01:00
canvas Back out changeset d34a1af95066 (bug 1207288) for Windows mochitest-gl not being that into being validated 2015-10-13 20:00:38 -07:00
cellbroadcast Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
contacts Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
crypto Bug 1214597 - Ensure that we check the actual result of calling crypto.subtle.verify() in tests r=mt 2015-10-14 13:40:14 +02:00
datastore Bug 1208355 - Fix -Wshadow warnings in dom/datastore. r=baku 2015-10-01 23:37:25 -07:00
devicestorage Bug 1205028 - Don't tell MTP server about files that it added/modified. r=alchen 2015-10-13 15:35:11 -07:00
downloads Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
encoding Bug 1211454 - Avoid requesting a zero-terminated string in TextEncoder when zero-termination is not needed. r=emk. 2015-10-14 15:28:50 +03:00
engineeringmode
events Bug 376679 part.4 Manage wheel transaction at sending a wheel event to target plugin r=smaug 2015-10-16 13:19:27 +09:00
fetch Bug 1211751: Remove nsIChannelEventSink-forwarding from EventSource and FetchDriver. It's never needed. r=smaug 2015-10-08 13:41:38 -07:00
filehandle Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv 2015-10-05 09:38:14 -07:00
filesystem Bug 1212114 - Stop using dom::Promise::MaybeRejectBrokenly() in various FileSystemTaskBase subclasses. r=baku 2015-09-04 11:23:21 +01:00
fmradio Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc 2015-10-07 20:06:47 +01:00
gamepad Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
geolocation Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz 2015-09-24 14:02:41 -07:00
html Backed out changeset 97e9ac5785f5 (bug 1213154) for bc7 test failures 2015-10-16 12:03:40 +02:00
icc Bug 1213766 - modify tests to match emulator's new mcc/mnc. r=echen 2015-10-12 02:16:00 +02:00
identity Bug 1207494 - Part 8: Remove use of expression closure from dom/identity/. r=ferjm 2015-09-23 18:39:14 +09:00
imptests Backing out changeset f6759ed53f46 (bug 799937) due to causing extension breakage. 2015-10-14 11:07:06 -04:00
indexedDB Backed out changeset 2387ada86428 (bug 1203803) for landing with negative review and causing assertions 2015-10-14 14:29:37 +02:00
inputmethod Bug 1201407 - Add input-manage-only events for InputMethod API. r=janjongboom, sr=smaug 2015-09-16 22:11:00 +02:00
inputport Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
interfaces Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-10-07 11:15:11 -07:00
ipc Bug 1212027 - part 5 - add LoneManagedOrNull for simplifying a lot of upcoming code; r=jld 2015-10-07 20:15:56 -04:00
json Bug 1207494 - Part 10: Remove use of expression closure from dom/json/. r=jst 2015-09-23 18:39:15 +09:00
jsurl Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-10-07 11:15:11 -07:00
locales Bug 1070216 - Guard against adding a track owned by one MSG to a stream owned by another. r=padenot 2015-10-15 01:08:33 +08:00
manifest Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
mathml Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
media Bug 1212027 - part 5 - add LoneManagedOrNull for simplifying a lot of upcoming code; r=jld 2015-10-07 20:15:56 -04:00
messagechannel Bug 949376 - MessageEvent::initMessageEvent, r=smaug 2015-10-08 17:44:58 +01:00
messages Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
mobileconnection Bug 1213766 - modify tests to match emulator's new mcc/mnc. r=echen 2015-10-12 02:16:00 +02:00
mobileid
mobilemessage Bug 748391 - Implement markMessageRead on the Android backend. r=snorp 2015-10-13 01:08:51 -03:00
network Bug 1212027 - part 5 - add LoneManagedOrNull for simplifying a lot of upcoming code; r=jld 2015-10-07 20:15:56 -04:00
newapps Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
nfc Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
notification Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
offline Bug 1199295 - Pass right loadingPrincipal to uriloader/prefetch (r=mayhemer) 2015-10-02 09:13:52 -07:00
payment Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
permission Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
phonenumberutils Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
plugins Bug 1212027 - part 5 - add LoneManagedOrNull for simplifying a lot of upcoming code; r=jld 2015-10-07 20:15:56 -04:00
power Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
presentation Bug 1214176 - fix typo in _onOffer. r=junior. 2015-10-13 05:23:00 +02:00
promise Bug 1214300 - AsyncErrorReporter doesn't use JSRuntime param., r=smaug 2015-10-14 11:29:55 +01:00
push Bug 1192458, Part 1 - Consolidate push and desktop notification permissions. r=nsm,wchen,MattN 2015-10-05 16:39:34 -07:00
quota Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz 2015-09-24 14:02:41 -07:00
requestsync Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
res
resourcestats
secureelement Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
security Backed out 2 changesets (bug 1182571) for being a likely cause of the Android S4 errors 2015-10-15 14:07:06 -07:00
settings Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
simplepush Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
smil Bug 1198708 - Part 6: Implement KeyframeEffectReadOnly.getFrames(). r=birtles,bzbarsky 2015-09-29 12:20:14 +10:00
speakermanager Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
storage Bug 606655 - delete cookies UI option AskMeEveryTime and its related comments and tests. r=mak 2015-10-08 09:13:00 +02:00
svg Bug 1035091 part 1: change CSS parser and loader APIs to distinguish UA, user, and author sheets instead of just UA vs everyone else. r=heycam 2015-10-13 17:43:16 -04:00
system merge mozilla-inbound to mozilla-central a=merge 2015-10-16 13:17:56 +02:00
telephony Merge b2ginbound to central, a=merge 2015-10-07 11:04:26 -07:00
tests Bug 1215230 - Disable service workers and push notifications on non-release builds until we're ready to ship them; r=bkelly 2015-10-16 11:19:57 -04:00
tethering Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
time Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
tv Bug 1212286 - Remove unnecessary define from TVSimulatorService.manifest. r=seanlin 2015-10-07 17:54:00 +02:00
voicemail Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
vr Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
wappush Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
webidl Bug 1070216 - Implement MediaStream constructors. r=smaug,jib,padenot 2015-10-15 01:08:33 +08:00
wifi Bug 1210370 - Close wpa_supplicant before we shutdown nsIWifiProxyService. r=mrbkap 2015-10-06 09:55:01 +08:00
workers Bug 1178726 - Simplify how we deal with freezing/thawing workers;r=jlongster,khuey 2015-10-16 18:48:26 +02:00
xbl Bug 1204669 optimize out hashtable lookups caused by extra GetPrototypeBinding call, r=bz,waldo 2015-09-24 03:53:31 +03:00
xml Bug 890284. Stop splitting textnodes in the XML content sink. r=peterv 2015-10-12 13:07:51 -04:00
xslt Bug 1192333 - Use channel->ascynOpen2 in dom/xslt/xslt/txMozillaStylesheetCompiler.cpp (r=sicking) 2015-09-28 16:34:47 -07:00
xul Backed out 2 changesets (bug 1137009) 2015-10-13 18:33:51 -07:00
jar.mn
moz.build Backed out 1 changesets (bug 1178533) for xpcshell-1 test failures 2015-09-24 08:41:04 +02:00