зеркало из https://github.com/mozilla/gecko-dev.git
a518709339
Lots of these callbacks have a non-`void*` final parameter, which UBSAN complains about. This commit changes them to have a `void*` parameter. This requires undoing the machinery added in the first two commits of bug 1473631: `TypePrefChangeFunc` and `PREF_CHANGE_METHOD`. The resulting code is simpler (which is good) and more boilerplate-y (which is bad) but avoids the undefined behaviour (which is good). Differential Revision: https://phabricator.services.mozilla.com/D50901 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
BasePrincipal.cpp | ||
BasePrincipal.h | ||
ContentPrincipal.cpp | ||
ContentPrincipal.h | ||
DomainPolicy.cpp | ||
DomainPolicy.h | ||
ExpandedPrincipal.cpp | ||
ExpandedPrincipal.h | ||
NullPrincipal.cpp | ||
NullPrincipal.h | ||
NullPrincipalURI.cpp | ||
NullPrincipalURI.h | ||
OriginAttributes.cpp | ||
OriginAttributes.h | ||
SystemPrincipal.cpp | ||
SystemPrincipal.h | ||
moz.build | ||
nsIAddonPolicyService.idl | ||
nsIDomainPolicy.idl | ||
nsIPrincipal.idl | ||
nsIScriptSecurityManager.idl | ||
nsJSPrincipals.cpp | ||
nsJSPrincipals.h | ||
nsScriptSecurityManager.cpp | ||
nsScriptSecurityManager.h |