Bug 766886 - Disable test_streamatclose.html in debug builds for frequent leaks

This commit is contained in:
Phil Ringnalda 2012-10-28 13:09:37 -07:00
parent ce9be1b16b
commit b51c6336e4

View File

@ -20,6 +20,13 @@
var p = document.getElementById('embedtest');
function startTest() {
// Skip in debug builds because of frequent leaks, bug 766886
if (SpecialPowers.isDebugBuild) {
todo(false, "test_streamatclose.html should stop leaking");
SimpleTest.finish();
return;
}
ok(p.streamTest("neverending.sjs", false, null, null,
function(r, t) {
is(r, 2, "Stream should have failed");