gecko-dev/uriloader/base
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
..
moz.build Bug 1304140 - Part 1: Implement support for the Large-Allocation header behind the dom.largeAllocationHeader.enabled pref, r=smaug 2016-10-31 16:38:54 -04:00
nsCURILoader.idl
nsDocLoader.cpp Bug 1475461 - part 2: Make callers of PLDHashTable::Search() const methods if possible r=Ehsan 2018-07-13 19:01:53 +09:00
nsDocLoader.h Bug 1475461 - part 2: Make callers of PLDHashTable::Search() const methods if possible r=Ehsan 2018-07-13 19:01:53 +09:00
nsIContentHandler.idl
nsIDocumentLoader.idl
nsITransfer.idl
nsIURIContentListener.idl
nsIURILoader.idl
nsIWebProgress.idl Bug 1383328 - Use TabGroup as event target for browser-status-filter (r=smaug) 2017-07-28 13:11:59 -07:00
nsIWebProgressListener.idl Bug 1475697 - Part 2: Add infrastructure for notifying the DOM about a document containing blocked tracking cookies; r=baku 2018-07-17 06:12:00 +03:00
nsIWebProgressListener2.idl
nsURILoader.cpp Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00
nsURILoader.h Bug 1293212 - Add MOZ_MUST_USE to prevent potential bugs. r=smaug 2016-08-08 18:16:15 +08:00