diff options
author | New Tobin Paradigm <email@mattatobin.com> | 2018-04-16 08:25:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 08:25:45 -0400 |
commit | ba80720469e27d3d7ae6f1095b3c187207adc051 (patch) | |
tree | f864e580c5cd7d99127aac64e9c3ae0ee6e9aa4b /services/fxaccounts/tests/xpcshell | |
parent | a66e6546c361d238b0179af18e26bf18aa4a7eb9 (diff) | |
parent | ae14556114dcae29f679db7c15f0bc9b707bb89a (diff) | |
download | UXP-ba80720469e27d3d7ae6f1095b3c187207adc051.tar UXP-ba80720469e27d3d7ae6f1095b3c187207adc051.tar.gz UXP-ba80720469e27d3d7ae6f1095b3c187207adc051.tar.lz UXP-ba80720469e27d3d7ae6f1095b3c187207adc051.tar.xz UXP-ba80720469e27d3d7ae6f1095b3c187207adc051.zip |
Merge pull request #174 from janekptacijarabaci/url_parser_1
moebius#130: URL parser - fix: don't allow empty host name
Diffstat (limited to 'services/fxaccounts/tests/xpcshell')
-rw-r--r-- | services/fxaccounts/tests/xpcshell/test_oauth_grant_client.js | 2 | ||||
-rw-r--r-- | services/fxaccounts/tests/xpcshell/test_profile_client.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/services/fxaccounts/tests/xpcshell/test_oauth_grant_client.js b/services/fxaccounts/tests/xpcshell/test_oauth_grant_client.js index 244b79a5e..710a65ee5 100644 --- a/services/fxaccounts/tests/xpcshell/test_oauth_grant_client.js +++ b/services/fxaccounts/tests/xpcshell/test_oauth_grant_client.js @@ -143,7 +143,7 @@ add_test(function serverErrorResponse () { add_test(function networkErrorResponse () { let client = new FxAccountsOAuthGrantClient({ - serverURL: "http://", + serverURL: "http://domain.dummy", client_id: "abc123" }); Services.prefs.setBoolPref("identity.fxaccounts.skipDeviceRegistration", true); 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() |