diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
commit | d8bbc7858622b6d9c278469aab701ca0b609cddf (patch) | |
tree | eff41dc61d9f714852212739e6b3738b82a2af87 /toolkit/components/aboutmemory/tests/test_memoryReporters.xhtml | |
parent | Releasing progress-linux version 125.0.3-1~progress7.99u1. (diff) | |
download | firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip |
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/aboutmemory/tests/test_memoryReporters.xhtml')
-rw-r--r-- | toolkit/components/aboutmemory/tests/test_memoryReporters.xhtml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/toolkit/components/aboutmemory/tests/test_memoryReporters.xhtml b/toolkit/components/aboutmemory/tests/test_memoryReporters.xhtml index c97981258e..bc715b6778 100644 --- a/toolkit/components/aboutmemory/tests/test_memoryReporters.xhtml +++ b/toolkit/components/aboutmemory/tests/test_memoryReporters.xhtml @@ -77,8 +77,7 @@ let mySandbox = Cu.Sandbox(document.nodePrincipal, { sandboxName: "this-is-a-sandbox-name" }); - function handleReportNormal(aProcess, aPath, aKind, aUnits, aAmount, - aDescription) + function handleReportNormal(aProcess, aPath, aKind, aUnits, aAmount) { if (aProcess.startsWith(`Utility `)) { // The Utility process that runs the ORB JavaScript validator starts on first @@ -128,8 +127,7 @@ } } - function handleReportAnonymized(aProcess, aPath, aKind, aUnits, aAmount, - aDescription) + function handleReportAnonymized(aProcess, aPath) { // Path might include an xmlns using http, which is safe to ignore. let reducedPath = aPath.replace(XUL_NS, ""); @@ -331,7 +329,7 @@ } }, // nsIMemoryReporter - collectReports(callback, data, anonymize) { + collectReports(callback, data) { for (let path of Object.keys(this.tests)) { try { let test = this.tests[path]; @@ -350,7 +348,7 @@ } }, // nsIHandleReportCallback - callback(process, path, kind, units, amount, data) { + callback(process, path, kind, units, amount) { if (path in this.tests) { this.seen++; let test = this.tests[path]; |