This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body></body> | |
<script src="../mojo/public/js/mojo_bindings.js"></script> | |
<script src="../third_party/blink/public/mojom/plaidstore/plaidstore.mojom.js"></script> | |
<script src="../third_party/blink/public/mojom/blob/blob_registry.mojom.js"></script> | |
<script> | |
var heap; | |
var replace_data; | |
var count = 0; | |
var blob_registry_ptr = new blink.mojom.BlobRegistryPtr(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script id="worker1"> | |
worker:{ | |
if (typeof window === 'object') break worker; | |
self.onmessage = function() { | |
console.log("onmessage") | |
} | |
} | |
</script> | |
<script src="../mojo_bindings.js"></script> | |
<script src="../third_party/blink/public/mojom/tstorage/tstorage.mojom.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sleep( sleepDuration ){ | |
var now = new Date().getTime(); | |
while(new Date().getTime() < now + sleepDuration){ /* do nothing */ } | |
} | |
function gc() { | |
for (let i = 0; i < 0x10; i++) { | |
new ArrayBuffer(0x1000000); | |
} | |
} | |
let data_view = new DataView(new ArrayBuffer(8)); |
OlderNewer