зеркало из https://github.com/mozilla/gecko-dev.git
Bug 830703 - test_httpauth.js doesn't run. r=josh
--HG-- rename : browser/components/privatebrowsing/test/unit/test_httpauth.js => netwerk/test/unit/test_httpauth.js
This commit is contained in:
Родитель
aef1dbd224
Коммит
8ceb72cf5e
|
@ -5,7 +5,6 @@ tail = tail_privatebrowsing.js
|
||||||
[test_0-privatebrowsing.js]
|
[test_0-privatebrowsing.js]
|
||||||
[test_0-privatebrowsingwrapper.js]
|
[test_0-privatebrowsingwrapper.js]
|
||||||
[test_aboutprivatebrowsing.js]
|
[test_aboutprivatebrowsing.js]
|
||||||
[test_httpauth.js]
|
|
||||||
[test_placesTitleNoUpdate.js]
|
[test_placesTitleNoUpdate.js]
|
||||||
[test_privatebrowsing_autostart.js]
|
[test_privatebrowsing_autostart.js]
|
||||||
[test_privatebrowsing_commandline.js]
|
[test_privatebrowsing_commandline.js]
|
||||||
|
|
|
@ -7,7 +7,12 @@
|
||||||
|
|
||||||
Components.utils.import("resource://gre/modules/Services.jsm");
|
Components.utils.import("resource://gre/modules/Services.jsm");
|
||||||
|
|
||||||
function run_test_on_service() {
|
const Cc = Components.classes;
|
||||||
|
const Ci = Components.interfaces;
|
||||||
|
const Cr = Components.results;
|
||||||
|
const Cu = Components.utils;
|
||||||
|
|
||||||
|
function run_test() {
|
||||||
var am = Cc["@mozilla.org/network/http-auth-manager;1"].
|
var am = Cc["@mozilla.org/network/http-auth-manager;1"].
|
||||||
getService(Ci.nsIHttpAuthManager);
|
getService(Ci.nsIHttpAuthManager);
|
||||||
|
|
||||||
|
@ -97,7 +102,3 @@ function run_test_on_service() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Support running tests on both the service itself and its wrapper
|
|
||||||
function run_test() {
|
|
||||||
run_test_on_all_services();
|
|
||||||
}
|
|
|
@ -142,6 +142,7 @@ skip-if = os == "android"
|
||||||
[test_header_Accept-Language.js]
|
[test_header_Accept-Language.js]
|
||||||
[test_headers.js]
|
[test_headers.js]
|
||||||
[test_http_headers.js]
|
[test_http_headers.js]
|
||||||
|
[test_httpauth.js]
|
||||||
[test_httpcancel.js]
|
[test_httpcancel.js]
|
||||||
[test_httpsuspend.js]
|
[test_httpsuspend.js]
|
||||||
[test_idnservice.js]
|
[test_idnservice.js]
|
||||||
|
|
Загрузка…
Ссылка в новой задаче