gecko-dev/toolkit/components/normandy/test
Valentin Gosu 6457cf92c8 Bug 1517025 - Use mock API server so fetchSignedObjects doesn't fail because of BAD URL r=Gijs
We now disallow the % sign in the hostname of a URL.
If the app.normandy.api_url pref isn't set explicitly, it'll remain the default set in xpcshell/user.js: https://%(server)s/selfsupport-dummy/. As you can see, this one has a % sign in it; and the test will fail.
Otherwise, the error we catch is not a NormandyApi.InvalidSignatureError, but NS_ERROR_MALFORMED_URI.

Differential Revision: https://phabricator.services.mozilla.com/D16695

--HG--
extra : moz-landing-system : lando
2019-02-11 21:50:56 +00:00
..
browser Bug 1504056 Part 1: Refactor AddonManager.getInstallForURL() arguments r=kmag 2019-02-01 15:23:55 -08:00
unit Bug 1517025 - Use mock API server so fetchSignedObjects doesn't fail because of BAD URL r=Gijs 2019-02-11 21:50:56 +00:00
.eslintrc.js