Add test to verify memory is released after sandboxed popup is closed

This commit is contained in:
Thiago de Arruda 2017-05-01 10:17:15 -03:00
parent bbe21cce67
commit a8640fb8a3
3 changed files with 61 additions and 0 deletions

11
spec/fixtures/api/allocate-memory.html vendored Normal file
View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
window.bigBuffer = new Uint8Array(1024 * 1024 * 64)
window.bigBuffer.fill(5, 50, 1024 * 1024)
</script>
</body>
</html>