зеркало из https://github.com/mozilla/gecko-dev.git
62b2826a12
We will remove the user and pass from the URL for Histories and Favicons using nsIOService::CreateExposableURI()[1], then store them to the database. And, for Favicons. And, for Favicons, we will also read them. Therefore, as the frequency calling CreateExposableURI() will be higher, we want to optimize it. Currently, CreateExposableURI() gets/copies the String of UserPass to check whether there is a user pass info in the URL[2]. Its copying will be waste. To prevent it, implement hasUserPass in nsIURI, and refer to it instead. [1] https://searchfox.org/mozilla-central/rev/90dce6b0223b4dc17bb10f1125b44f70951585f9/netwerk/base/nsIOService.cpp#1031 [2] https://searchfox.org/mozilla-central/rev/90dce6b0223b4dc17bb10f1125b44f70951585f9/netwerk/base/nsIOService.cpp#1017 Differential Revision: https://phabricator.services.mozilla.com/D193623 |
||
---|---|---|
.. | ||
icon | ||
EXIF.cpp | ||
EXIF.h | ||
GIF2.h | ||
iccjpeg.c | ||
iccjpeg.h | ||
moz.build | ||
nsAVIFDecoder.cpp | ||
nsAVIFDecoder.h | ||
nsBMPDecoder.cpp | ||
nsBMPDecoder.h | ||
nsGIFDecoder2.cpp | ||
nsGIFDecoder2.h | ||
nsICODecoder.cpp | ||
nsICODecoder.h | ||
nsIconDecoder.cpp | ||
nsIconDecoder.h | ||
nsJPEGDecoder.cpp | ||
nsJPEGDecoder.h | ||
nsJXLDecoder.cpp | ||
nsJXLDecoder.h | ||
nsPNGDecoder.cpp | ||
nsPNGDecoder.h | ||
nsWebPDecoder.cpp | ||
nsWebPDecoder.h |