mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 07:01:19 +00:00

The changes to the return type of MerchantValidationEvent::init are because Result doesn't allow having an ErrorResult (or any other type without a copy constructor) as its error type. Plus we would have had the impedance mismatch between Result<Ok, nsresult> (which is what URL resolution on the document returns) and Result<Ok, ErrorResult> anyway. Differential Revision: https://phabricator.services.mozilla.com/D46461 --HG-- extra : moz-landing-system : lando