mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-07-07 10:29:03 +00:00
27 lines
587 B
HTML
27 lines
587 B
HTML
<!-- Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ -->
|
|
<!doctype html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<title>Performance test page</title>
|
|
</head>
|
|
|
|
<body>
|
|
<script type="text/javascript">
|
|
function performWork() {
|
|
var worker = new Worker("js_simpleWorker.js");
|
|
|
|
worker.addEventListener("message", function(e) {
|
|
console.log(e.data);
|
|
console.timeStamp("Done");
|
|
}, false);
|
|
|
|
worker.postMessage("Hello World");
|
|
}
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|