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:
Raymond Lee 2013-01-24 00:37:42 +08:00
Родитель aef1dbd224
Коммит 8ceb72cf5e
3 изменённых файлов: 7 добавлений и 6 удалений

Просмотреть файл

@ -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]