gecko-dev/toolkit/components
Francois Marier 3aa5d0aeda Bug 1362761 - Make WritePrefixes() more readable. r=dimi
Add assertions to highlight what the various data structures
should look like.

Also assert to ensure that mIndexPrefixes is always the same
length as mIndexDeltas and avoid writing the prefixes to disk
if that's not the case.

Do a single fallible allocation before we create the indexStarts
array instead of checking on each AppendElement() to simplify
the loop and emphasize the number of elements that the array
will receive (indexSize + 1). Remove the last element since we
don't actually end up writing it to disk.

MozReview-Commit-ID: HIg7ZmgaL7x

Differential Revision: https://phabricator.services.mozilla.com/D2063

--HG--
extra : moz-landing-system : lando
2018-07-11 09:10:31 +00:00
..
aboutcache
aboutcheckerboard
aboutmemory Bug 1447951 - Store nsDynamicAtom's chars after the end of the object. r=froydnj 2018-06-22 09:38:42 +10:00
aboutperformance Bug 1474990 - Remove the 'Memory usage of Subprocesses' table from about:performance, r=mconley. 2018-07-12 20:01:23 +02:00
alerts Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
antitracking Backed out 2 changesets (bug 1474651) for lint failure in /builds/worker/checkouts/gecko/toolkit/components/antitracking/test/browser/popup.html:8:126 on a CLOSED TREE 2018-07-11 13:57:22 +03:00
apppicker Bug 1435688 - Part 1 - Replace "listitem-iconic" with "richlistitem" in the Windows handler application picker dialog. r=bgrins 2018-06-23 19:21:31 +01:00
asyncshutdown
autocomplete Bug 1388123 - Make autocomplete handle Enter on keydown. r=MattN 2018-06-22 12:37:09 +02:00
backgroundhangmonitor Bug 1467549 - Disable the BackgroundHangReporter in ASan builds. r=Nika 2018-06-07 12:32:57 -07:00
browser Bug 1474835 - Use implicit_jscontext for nsIWebNavigation.setOriginAttributesBeforeLoading. r=smaug 2018-07-11 15:23:54 +02:00
build Bug 1461965 - Enable xpcshell test coverage for GeckoView Telemetry. r=chutten,froydnj,janerik 2018-06-05 17:01:04 +02:00
captivedetect Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8 2018-05-25 17:02:29 -07:00
cleardata Bug 1467919 - Don't try to clear PushService data if Push disabled r=baku 2018-07-02 11:46:55 -05:00
clearsitedata Bug 1268889 - Implement Clear-Site-Data header - part 2 - pref, r=smaug 2018-06-20 11:57:49 -04:00
cloudstorage Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8 2018-05-25 17:02:29 -07:00
commandlines
contentprefs Bug 1456762 - Remove now unnecessary import-globals-from statements in html files. r=mossop 2018-06-16 08:21:33 +00:00
contextualidentity Backed out 10 changesets (bug 1406181) as per developers request. 2018-06-03 16:10:23 +03:00
crashes Bug 1464773 - Add low-memory event counts to the crash report; r=ted.mielczarek 2018-05-28 10:09:20 +02:00
crashmonitor
ctypes Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
diskspacewatcher
downloads Bug 1419704 - Remove nsIGlobalHistory2 and docshell's nsDownloadHistory as they are redundant. r=mak,bzbarsky 2018-07-04 09:59:45 +00:00
enterprisepolicies Backed out changeset ce5b67578d0c (bug 1465950) for failing eslint at /builds/worker/checkouts/gecko/browser/components/enterprisepolicies/tests/browser/browser_policies_getActivePolicies.js on a CLOSED TREE 2018-06-27 20:24:23 +03:00
extensions Backed out 10 changesets (bug 1470783, bug 1463587) for causing multiple leakcheck failures on a CLOSED TREE 2018-07-12 11:27:45 +03:00
feeds Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj 2018-05-19 20:17:45 -07:00
filewatcher Bug 1467438 - Need to include Scoped.h (unified bustage) on a CLOSED TREE 2018-06-22 18:47:08 -07:00
finalizationwitness
find Bug 1455891: Use GetFlattenedTreeParent more in nsFind. r=mats 2018-07-06 06:53:22 +02:00
gfx Bug 1211647 - Runtime graphics testing visible during session restore. r=mchang 2018-07-09 13:18:10 -04:00
jsoncpp
lz4
maintenanceservice Bug 1457999: Backed out changeset fc8e373f027c for Linux bustage; r=backout CLOSED TREE 2018-05-07 11:21:32 -06:00
mediasniffer
microformats Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8 2018-05-25 17:02:29 -07:00
mozintl Bug 1463673 - Add the expected argument to Assert.throws/rejects for various tests in toolkit/. r=mossop 2018-05-22 19:25:34 +01:00
mozprotocol Bug 1456762 - Add parsing of HTML files to ESLint to discover their script tags and the globals that are imported. r=mossop 2018-06-16 08:20:38 +00:00
narrate
normandy Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
osfile Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
parentalcontrols Bug 1460210 - Don't use GetProcAddress on Parental Control code. r=dmajor 2018-05-14 10:58:53 +09:00
passwordmgr Backed out 2 changesets (bug 1470333) for xpcshell failures at browser/extensions/formautofill/test/unit/test_getFormInputDetails.js 2018-07-05 00:24:27 +03:00
perf
perfmonitoring Bug 1474253 - Improve ReportPerformanceInfo() - r=baku 2018-07-10 09:58:48 +02:00
places Bug 1475276 - Remove some no more necessary usage of promiseItemGuid. r=lina 2018-07-12 21:38:21 +00:00
printing Bug 1473265 - Clean up print preview toolbar ids and classes. r=bgrins 2018-07-10 15:23:04 +02:00
printingui Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
privatebrowsing
processsingleton Bug 1462798 - Create a base custom element class that shares the parseXULToFragment helper;r=Paolo 2018-05-19 13:56:06 -07:00
promiseworker
prompts Backed out changeset 97d4a22307ac (bug 1473910) for browser-chrome failures on browser/components/places/tests/browser/browser_toolbar_overflow.js. CLOSED TREE 2018-07-11 17:46:08 +03:00
protobuf
reader Bug 1472749 - fix reader mode on nytimes website (sync from github 7d03bec52d0a0c4b22d044e06af84abb15a9f02b), r=jaws 2018-07-10 14:24:43 +01:00
reflect
remote Bug 1472611 - Don't link DBus 1.5.12 symbol dbus_validate_bus_name(), r=stransky 2018-07-04 09:24:34 +02:00
remotebrowserutils
reputationservice Bug 1472523: Part 4 - Avoid unnecessary domain string duplication in preference observers. r=njn 2018-07-04 14:52:48 -07:00
resistfingerprinting Bug 1472618 - Make navigator.platform return "Win32", even on Win64 OS. r=peterv 2018-07-02 11:02:23 -07:00
satchel Bug 1388123 - re-enable some of the satchel tests on Linux. r=MattN 2018-07-10 16:25:06 +02:00
search Bug 1460419 - Remove geoSpecificPref code from search service. r=florian 2018-07-10 13:17:20 +00:00
securityreporter Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8 2018-05-25 17:02:29 -07:00
sessionstore
startup
statusfilter Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
telemetry Backed out 7 changesets (bug 1420514) for breaking bc on different files on a CLOSED TREE 2018-07-12 21:22:32 +03:00
terminator Bug 1296819 - Intermittent valgrind-test | Invalid write of size 4 at mozilla:: / _pt_root / start_thread / clone. r=amarchesini@mozilla.com. 2018-05-31 14:15:39 +02:00
thumbnails Backed out 5 changesets (bug 1340498) for build bustage due to conflicts with bug 1470325. a=backout 2018-06-27 14:05:20 +03:00
timermanager Bug 1373408 - Make nsUpdateTimerManager notify callbacks on idle. r=rhelmer 2018-07-12 14:38:38 -04:00
tooltiptext
typeaheadfind Bug 1455891: Don't return NAC as the first visible node in nsTypeAheadFind. r=heycam 2018-07-06 06:53:22 +02:00
url-classifier Bug 1362761 - Make WritePrefixes() more readable. r=dimi 2018-07-11 09:10:31 +00:00
urlformatter Bug 1463183 - Remove all instances of isUniversalBinary since we no longer build universal binaries for macOS r=spohl 2018-05-31 20:04:23 +05:30
utils Bug 1472797 - Add OS information to filter expression context r=Gijs 2018-07-10 08:11:21 +00:00
viewconfig
viewsource Bug 1472087 - Remove nsDocShellLoadInfo::LoadTypes; r=nika 2018-07-11 20:19:18 -07:00
windowcreator Bug 1472087 - deCOMtaminate nsIDocShellLoadInfo; r=nika 2018-07-11 20:19:14 -07:00
windowwatcher Bug 1472087 - deCOMtaminate nsIDocShellLoadInfo; r=nika 2018-07-11 20:19:14 -07:00
workerloader
xulstore Bug 1430023 - Get rid of some remaining localstore.rdf code. r=mossop 2018-05-09 10:49:35 +02:00
moz.build Backed out 4 changesets (bug 1268889) for Windows GTest failures. CLOSED TREE 2018-06-21 16:51:55 +03:00
nsDefaultCLH.js
nsDefaultCLH.manifest