зеркало из https://github.com/mozilla/gecko-dev.git
Bug 795254. Intermittent test_private_channel.js failure r=jdm
--HG-- rename : netwerk/test/unit/test_private_channel.js => netwerk/test/unit/test_private_necko_channel.js
This commit is contained in:
Родитель
c4afb9df69
Коммит
e03559f181
|
@ -11,6 +11,7 @@ Cu.import("resource://testing-common/httpd.js");
|
|||
|
||||
var httpserver = new HttpServer();
|
||||
var testpath = "/simple";
|
||||
var httpbody = "0123456789";
|
||||
|
||||
function run_test() {
|
||||
// Simulate a profile dir for xpcshell
|
||||
|
@ -39,8 +40,8 @@ function setupChannel(path) {
|
|||
}
|
||||
|
||||
function serverHandler(metadata, response) {
|
||||
response.write("HTTP/1.0 200 OK\r\n\r\nfoobar");
|
||||
respose.finish();
|
||||
response.setHeader("Content-Type", "text/plain", false);
|
||||
response.bodyOutputStream.write(httpbody, httpbody.length);
|
||||
}
|
||||
|
||||
function checkRequest(request, data, context) {
|
|
@ -165,7 +165,7 @@ skip-if = os == "win"
|
|||
[test_permmgr.js]
|
||||
[test_plaintext_sniff.js]
|
||||
[test_post.js]
|
||||
[test_private_channel.js]
|
||||
[test_private_necko_channel.js]
|
||||
[test_private_cookie_changed.js]
|
||||
[test_progress.js]
|
||||
[test_protocolproxyservice.js]
|
||||
|
|
Загрузка…
Ссылка в новой задаче