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
parent aef1dbd224
commit 8ceb72cf5e
3 changed files with 7 additions and 6 deletions

View File

@ -5,7 +5,6 @@ tail = tail_privatebrowsing.js
[test_0-privatebrowsing.js]
[test_0-privatebrowsingwrapper.js]
[test_aboutprivatebrowsing.js]
[test_httpauth.js]
[test_placesTitleNoUpdate.js]
[test_privatebrowsing_autostart.js]
[test_privatebrowsing_commandline.js]

View File

@ -7,7 +7,12 @@
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"].
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();
}

View File

@ -142,6 +142,7 @@ skip-if = os == "android"
[test_header_Accept-Language.js]
[test_headers.js]
[test_http_headers.js]
[test_httpauth.js]
[test_httpcancel.js]
[test_httpsuspend.js]
[test_idnservice.js]