Files
firefox/devtools/client/memory/test/browser/doc_steady_allocation.html
T
2017-03-21 12:54:42 -05:00

22 lines
388 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
</head>
<body>
<script>
"use strict";
var objects = window.objects = [];
var allocate = this.allocate = function allocate() {
for (let i = 0; i < 100; i++) {
objects.push({});
}
setTimeout(allocate, 10);
};
allocate();
</script>
</body>
</html>