blob: 19e53bb1ca2df19aea3c72736c7e65405d81f839 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<html>
<body>
<script>
function createBlob(blocksize) {
var blob = new Blob();
while (blob.size < 25 * 1024 * 1024) { // 25 MB
blob = new Blob([blob, new Uint8Array(blocksize)]);
}
URL.createObjectURL(blob);
}
createBlob(1024 * 25);
</script>
</body>
</html>
|