Bug 588533 - Fix failing test for response body on Linux r=ddahl a=test-only-fix

This commit is contained in:
Julian Viereck 2010-09-01 12:56:03 -07:00
Родитель 9f0e7e2513
Коммит cf8a8536a7
1 изменённых файлов: 0 добавлений и 6 удалений

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

@ -75,14 +75,8 @@ function testNetworkLogging()
"Logged network entry is page load");
is(httpActivity.method, "GET", "Method is correct");
is(httpActivity.request.body, undefined, "No request body sent");
// TODO: Figure out why the following test is failing on linux (bug 588533).
//
// If not linux, then run the test. On Linux it always fails.
if (navigator.platform.indexOf("Linux") != 0) {
ok(httpActivity.response.body.indexOf("<!DOCTYPE HTML>") == 0,
"Response body's beginning is okay");
}
// Start xhr-get test.
browser.contentWindow.wrappedJSObject.testXhrGet(loggingGen);