From 7865ab6e609ea16d57884d2d41699df44c6b963d Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Fri, 4 May 2012 12:50:12 -0400 Subject: [PATCH] Bug 751509 - Don't assert that about:memory percentages are less than 100%. r=njn --- toolkit/components/aboutmemory/content/aboutMemory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/components/aboutmemory/content/aboutMemory.js b/toolkit/components/aboutmemory/content/aboutMemory.js index 13233c535a8..d95657d8b54 100644 --- a/toolkit/components/aboutmemory/content/aboutMemory.js +++ b/toolkit/components/aboutmemory/content/aboutMemory.js @@ -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"); }