Bug 751509 - Don't assert that about:memory percentages are less than 100%. r=njn

This commit is contained in:
Justin Lebar 2012-05-04 12:50:12 -04:00
parent c248872f5e
commit 807688a059

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 !(0 <= n && n <= 10000);
case UNITS_PERCENTAGE: return n < 0; /* percentages may be greater than 100% */
default:
assert(false, "bad units in OtherReport.isInvalid");
}