Add test to verify memory is released after sandboxed popup is closed
This commit is contained in:
parent
bbe21cce67
commit
a8640fb8a3
3 changed files with 61 additions and 0 deletions
11
spec/fixtures/api/allocate-memory.html
vendored
Normal file
11
spec/fixtures/api/allocate-memory.html
vendored
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue