gecko-dev/dom/payments
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
..
ipc Bug 1499041 - Remove libFuzzer flags from ipc/chromium/. r=froydnj 2019-07-24 14:13:30 +00:00
test Bug 1577746 - Enable ESLint rule object-shorthand for dom/. r=baku 2019-09-02 11:22:27 +00:00
BasicCardPayment.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-06 18:29:55 +00:00
BasicCardPayment.h Bug 1582196 part 3. Stop using NS_ERROR_RANGE_ERR and NS_ERROR_TYPE_ERR in payments code. r=edenchuang 2019-09-19 23:53:14 +00:00
MerchantValidationEvent.cpp Bug 1582196 part 3. Stop using NS_ERROR_RANGE_ERR and NS_ERROR_TYPE_ERR in payments code. r=edenchuang 2019-09-19 23:53:14 +00:00
MerchantValidationEvent.h Bug 1582196 part 3. Stop using NS_ERROR_RANGE_ERR and NS_ERROR_TYPE_ERR in payments code. r=edenchuang 2019-09-19 23:53:14 +00:00
PaymentActionResponse.cpp Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan 2019-04-05 21:41:42 +00:00
PaymentActionResponse.h
PaymentAddress.cpp
PaymentAddress.h
PaymentMethodChangeEvent.cpp Bug 1578173 part 4. Switch event subclasses to constructor operations. r=smaug 2019-09-11 14:35:28 +00:00
PaymentMethodChangeEvent.h Bug 1578173 part 4. Switch event subclasses to constructor operations. r=smaug 2019-09-11 14:35:28 +00:00
PaymentRequest.cpp Bug 1582196 part 3. Stop using NS_ERROR_RANGE_ERR and NS_ERROR_TYPE_ERR in payments code. r=edenchuang 2019-09-19 23:53:14 +00:00
PaymentRequest.h Bug 1582196 part 3. Stop using NS_ERROR_RANGE_ERR and NS_ERROR_TYPE_ERR in payments code. r=edenchuang 2019-09-19 23:53:14 +00:00
PaymentRequestData.cpp
PaymentRequestData.h
PaymentRequestManager.cpp Bug 1587162 - Fix UBSAN complaints about pref callbacks. r=erahm 2019-11-01 02:57:20 +00:00
PaymentRequestManager.h
PaymentRequestService.cpp Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan 2019-04-05 21:41:42 +00:00
PaymentRequestService.h
PaymentRequestUpdateEvent.cpp Bug 1582196 part 3. Stop using NS_ERROR_RANGE_ERR and NS_ERROR_TYPE_ERR in payments code. r=edenchuang 2019-09-19 23:53:14 +00:00
PaymentRequestUpdateEvent.h Bug 1578173 part 4. Switch event subclasses to constructor operations. r=smaug 2019-09-11 14:35:28 +00:00
PaymentRequestUtils.cpp
PaymentRequestUtils.h
PaymentResponse.cpp Bug 1582196 part 3. Stop using NS_ERROR_RANGE_ERR and NS_ERROR_TYPE_ERR in payments code. r=edenchuang 2019-09-19 23:53:14 +00:00
PaymentResponse.h Bug 1582196 part 3. Stop using NS_ERROR_RANGE_ERR and NS_ERROR_TYPE_ERR in payments code. r=edenchuang 2019-09-19 23:53:14 +00:00
components.conf
moz.build