diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-15 07:29:18 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-15 07:29:18 +0200 |
commit | ae14556114dcae29f679db7c15f0bc9b707bb89a (patch) | |
tree | b7f02d4463293a5fb0f3823bd48230a142c5a42d /services/fxaccounts/tests/xpcshell/test_profile_client.js | |
parent | 8a95c03dcd2a7f2c6d64b6ee917f6cb363e9ca60 (diff) | |
download | UXP-ae14556114dcae29f679db7c15f0bc9b707bb89a.tar UXP-ae14556114dcae29f679db7c15f0bc9b707bb89a.tar.gz UXP-ae14556114dcae29f679db7c15f0bc9b707bb89a.tar.lz UXP-ae14556114dcae29f679db7c15f0bc9b707bb89a.tar.xz UXP-ae14556114dcae29f679db7c15f0bc9b707bb89a.zip |
moebius#130: URL parser - fix: don't allow empty host name
https://github.com/MoonchildProductions/moebius/issues/130
Diffstat (limited to 'services/fxaccounts/tests/xpcshell/test_profile_client.js')
-rw-r--r-- | services/fxaccounts/tests/xpcshell/test_profile_client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/fxaccounts/tests/xpcshell/test_profile_client.js b/services/fxaccounts/tests/xpcshell/test_profile_client.js index 2243da3aa..20ff6efc6 100644 --- a/services/fxaccounts/tests/xpcshell/test_profile_client.js +++ b/services/fxaccounts/tests/xpcshell/test_profile_client.js @@ -268,7 +268,7 @@ add_test(function server401ResponsePersists () { add_test(function networkErrorResponse () { let client = new FxAccountsProfileClient({ - serverURL: "http://", + serverURL: "http://domain.dummy", fxa: mockFxa, }); client.fetchProfile() |