gecko-dev/toolkit
Kris Maglione 7aa3564a28 Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj
Much like the component manager, many of the strings that we use for category
manager entries are statically allocated. There's no need to duplicate these
strings.

This patch changes the category manager APIs to take nsACStrings rather than
raw pointers, and to pass literal nsCStrings when we know we have a literal
string to begin with. When adding the category entry, it then skips making
copies of any strings with the LITERAL flag.

MozReview-Commit-ID: EJEcYSdNMWs
***
amend-catman

--HG--
extra : source : aa9a8f18e98f930a3d8359565eef02f3f6efc5f9
extra : absorb_source : 81a22ab26ee8017ac43321ff2c987d8096182d37
2018-07-23 17:41:06 -07:00
..
components Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00
content Bug 1477129: Part 3 - Re-enable e10s on FreeBSD. r=froydnj 2018-07-19 18:18:27 -07:00
crashreporter Bug 1207696 Part 4b - Make recording optional in mozilla mutexes and monitors, r=froydnj. 2018-07-21 14:22:54 +00:00
forgetaboutsite Bug 1470109 - Move ServiceWorkerCleanUp.jsm into toolkit/components/cleardata, r=johannh 2018-06-21 16:50:10 +02:00
library Bug 1290972: Remove linker flags for macOS that are no longer necessary and cause crashes such as bug 1471366 due to an inability to handle native exceptions when these flags are used. r=froydnj 2018-07-17 10:27:46 -04:00
locales Bug 1477129: Part 3 - Re-enable e10s on FreeBSD. r=froydnj 2018-07-19 18:18:27 -07:00
modules Bug 1477202 - Avoid shipping PerTestCoverageUtils.jsm to users by only adding it to Marionette when MOZ_CODE_COVERAGE is defined. r=florian 2018-07-20 11:37:52 +02:00
mozapps Backed out changeset 47b3297877fa (bug 1476314) for bustage at z:/build/build/src/config/rules.mk [nsAppRunner.obj] on a CLOSED TREE 2018-07-19 17:36:31 +03:00
pluginproblem Bug 1456625 - Remove replacement XBL binding (Backout cb51f3bada90) r=Felipe 2018-05-24 18:23:48 +08:00
profile Bug 1475916 - Use em instead of px for list heights to keep font scaling into account. r=bgrins 2018-07-23 10:07:38 +01:00
recordreplay Bug 1464903 - Add metadata to file bugs for toolkit/recordreplay into Core::Web Replay. r=test-fix 2018-07-23 11:06:50 +03:00
system Backed out changeset a7a1006e2f52 (bug 356831) for braking marionette on win asan on a CLOSED TREE 2018-07-10 18:42:01 +03:00
themes Bug 1475916 - Use em instead of px for list heights to keep font scaling into account. r=bgrins 2018-07-23 10:07:38 +01:00
xre Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00
.eslintrc.js
moz.build Bug 1464903 Part 2 - Record/replay build files, r=froydnj. 2018-07-22 11:42:17 +00:00
moz.configure Bug 1476799 - remove references to Stylo from bindgen configure code; r=gps 2018-07-18 19:11:07 -04:00
nss.configure
toolkit.mozbuild Bug 833098: Part 1 - Remove dead code in xpfe directory viewer. r=Mossop 2018-04-28 21:28:03 -07:00