gecko-dev/modules
Daisuke Akatsuka 62b2826a12 Bug 1864985: Add hasUserPass attribute to nsIURI r=necko-reviewers,valentin
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
2023-11-17 20:12:10 +00:00
..
brotli Bug 1850991 - Update brotli to version 1.1.0. r=jfkthame 2023-09-13 14:36:27 +00:00
fdlibm Bug 1358149 use fdlibm for inexact math functions in ffvpx/libavcodec r=padenot,firefox-build-system-reviewers,glandium 2023-08-10 19:46:05 +00:00
freetype2 Bug 1850443 - Update freetype2 to 2.13.2. r=jfkthame 2023-08-30 13:49:55 +00:00
libjar Bug 1864985: Add hasUserPass attribute to nsIURI r=necko-reviewers,valentin 2023-11-17 20:12:10 +00:00
libmar Bug 1855952 - nss_secutil.c: Resource leak: input r=andi 2023-10-06 07:45:55 +00:00
libpref Bug 1857929 - Set the wgpu flag to filter out labels. r=webgpu-reviewers,ErichDonGubler 2023-11-17 18:39:06 +00:00
woff2 Bug 1851712 - Stop building plain hunspell and woff2 when they are wasm sandboxed. r=tjr 2023-09-07 02:15:57 +00:00
xz-embedded Bug 1857234 - Have mach vendor's ** globbing match hidden files r=tjr,devtools-reviewers,cubeb-reviewers,padenot,ochameau 2023-10-10 08:21:13 +00:00
zlib Bug 1849470 - Update in-tree zlib to version 1.3. r=aosmond 2023-08-23 15:07:23 +00:00
moz.build