gecko-dev/docshell/shistory
Nicholas Nethercote a518709339 Bug 1587162 - Fix UBSAN complaints about pref callbacks. r=erahm
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
2019-11-01 02:57:20 +00:00
..
ChildSHistory.cpp
ChildSHistory.h
moz.build
nsIBFCacheEntry.idl
nsISHEntry.idl Bug 1586911: Silence SHEntry assertion after local->remote->local iframe navigation. r=peterv 2019-10-11 19:32:02 +00:00
nsISHistory.idl
nsISHistoryListener.idl
nsSHEntry.cpp Bug 1586911: Silence SHEntry assertion after local->remote->local iframe navigation. r=peterv 2019-10-11 19:32:02 +00:00
nsSHEntry.h
nsSHEntryShared.cpp
nsSHEntryShared.h
nsSHistory.cpp Bug 1587162 - Fix UBSAN complaints about pref callbacks. r=erahm 2019-11-01 02:57:20 +00:00
nsSHistory.h
ParentSHistory.cpp
ParentSHistory.h