diff options
Diffstat (limited to 'toolkit/components/aboutmemory/tests/test_aboutmemory.xhtml')
-rw-r--r-- | toolkit/components/aboutmemory/tests/test_aboutmemory.xhtml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/components/aboutmemory/tests/test_aboutmemory.xhtml b/toolkit/components/aboutmemory/tests/test_aboutmemory.xhtml index 4617a019ad..a1a712dd0a 100644 --- a/toolkit/components/aboutmemory/tests/test_aboutmemory.xhtml +++ b/toolkit/components/aboutmemory/tests/test_aboutmemory.xhtml @@ -40,7 +40,7 @@ const PERCENTAGE = Ci.nsIMemoryReporter.UNITS_PERCENTAGE; let fakeReporters = [ - { collectReports(aCbObj, aClosure, aAnonymize) { + { collectReports(aCbObj, aClosure) { function f(aP, aK, aU, aA) { aCbObj.callback("Main Process", aP, aK, aU, aA, "Desc.", aClosure); } @@ -77,7 +77,7 @@ f("compartments/system/foo", OTHER, COUNT, 1); } }, - { collectReports(aCbObj, aClosure, aAnonymize) { + { collectReports(aCbObj, aClosure) { function f(aP, aK, aU, aA) { aCbObj.callback("Main Process", aP, aK, aU, aA, "Desc.", aClosure); } @@ -92,7 +92,7 @@ f("explicit/f/g/h/j", HEAP, BYTES, 10 * MB); } }, - { collectReports(aCbObj, aClosure, aAnonymize) { + { collectReports(aCbObj, aClosure) { function f(aP, aK, aU, aA) { aCbObj.callback("Main Process", aP, aK, aU, aA, "Desc.", aClosure); } @@ -103,7 +103,7 @@ f("compartments/user/https:\\\\very-long-url.com\\very-long\\oh-so-long\\really-quite-long.html?a=2&b=3&c=4&d=5&e=abcdefghijklmnopqrstuvwxyz&f=123456789123456789123456789", OTHER, COUNT, 1); } }, - { collectReports(aCbObj, aClosure, aAnonymize) { + { collectReports(aCbObj, aClosure) { function f(aP) { aCbObj.callback("Main Process", aP, OTHER, COUNT, 1, "Desc.", aClosure); } @@ -121,7 +121,7 @@ // the largest). Processes without a |resident| memory reporter are saved // for the end. let fakeReporters2 = [ - { collectReports(aCbObj, aClosure, aAnonymize) { + { collectReports(aCbObj, aClosure) { function f(aP1, aP2, aK, aU, aA) { aCbObj.callback(aP1, aP2, aK, aU, aA, "Desc.", aClosure); } |