summaryrefslogtreecommitdiffstats
path: root/toolkit/components/aboutmemory/tests/crash-dump-good.json
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/aboutmemory/tests/crash-dump-good.json')
-rw-r--r--toolkit/components/aboutmemory/tests/crash-dump-good.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/toolkit/components/aboutmemory/tests/crash-dump-good.json b/toolkit/components/aboutmemory/tests/crash-dump-good.json
new file mode 100644
index 0000000000..7865369dc3
--- /dev/null
+++ b/toolkit/components/aboutmemory/tests/crash-dump-good.json
@@ -0,0 +1,42 @@
+{
+ "foo": 1,
+ "blah": 2,
+ "memory_report": {
+ "version": 1,
+ "hasMozMallocUsableSize": true,
+ "reports": [
+ {
+ "process": "Main Process (pid NNN)",
+ "path": "heap-allocated",
+ "kind": 2,
+ "units": 0,
+ "amount": 262144000,
+ "description": "Heap allocated."
+ },
+ {
+ "process": "Main Process (pid NNN)",
+ "path": "other/b",
+ "kind": 2,
+ "units": 0,
+ "amount": 104857,
+ "description": "Other b."
+ },
+ {
+ "process": "Main Process (pid NNN)",
+ "path": "other/a",
+ "kind": 2,
+ "units": 0,
+ "amount": 209715,
+ "description": "Other a."
+ },
+ {
+ "process": "Main Process (pid NNN)",
+ "path": "explicit/a/b",
+ "kind": 1,
+ "units": 0,
+ "amount": 52428800,
+ "description": "A b."
+ }
+ ]
+ }
+}