playwright/test/assets/worker/worker.html

14 lines
259 B
HTML
Raw Normal View History

2019-11-19 05:18:28 +03:00
<!DOCTYPE html>
<html>
<head>
<title>Worker test</title>
</head>
<body>
<script>
var worker = new Worker('worker.js');
worker.onmessage = function(message) {
console.log(message.data);
};
</script>
</body>
</html>