summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/harness/fastmallocstatistics-object.html
blob: 5c519aab76de81d857907fd159a07a6ee55e1b8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test.js"></script>
<script type="text/javascript">
shouldBeDefined(window.internals);

var stats = window.internals.mallocStatistics();
shouldBeDefined(stats);
shouldBeGreaterThanOrEqual("stats.reservedVMBytes", "0");
shouldBeGreaterThanOrEqual("stats.committedVMBytes", "0");
shouldBeGreaterThanOrEqual("stats.freeListBytes", "0");
</script>
</head>
<body>
</body>
</html>