gecko-dev/docshell
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
..
base Bug 1588412 - (part 2) moz:// documents should use documentchannel r=mattwoodrow 2019-10-31 18:36:56 +00:00
build Bug 1532703 - Redirect "about:config" to the HTML version on all channels for browser builds. r=mconley 2019-10-14 15:58:42 +00:00
resources/content Bug 1584998: Make x-frame-options work with fission enabled. r=jkt,farre,johannh,flod 2019-10-31 08:28:35 +00:00
shistory Bug 1587162 - Fix UBSAN complaints about pref callbacks. r=erahm 2019-11-01 02:57:20 +00:00
test Bug 1592465 - Modernize browser_bug343515.js. r=bzbarsky 2019-10-31 02:47:08 +00:00
moz.build Bug 1532703 - Redirect "about:config" to the HTML version on all channels for browser builds. r=mconley 2019-10-14 15:58:42 +00:00