Backout c1243d1fb401 (bug 751509) for turning test_aboutmemory.xul permaorange

This commit is contained in:
Ed Morley 2012-05-04 19:14:15 +01:00
parent 8ff1c7acc1
commit 62058070ea

View File

@ -1415,7 +1415,7 @@ OtherReport.prototype = {
case UNITS_BYTES:
case UNITS_COUNT:
case UNITS_COUNT_CUMULATIVE: return n < 0;
case UNITS_PERCENTAGE: return n < 0; /* percentages may be greater than 100% */
case UNITS_PERCENTAGE: return !(0 <= n && n <= 10000);
default:
assert(false, "bad units in OtherReport.isInvalid");
}