mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 22:22:53 +03:00
14 lines
259 B
HTML
14 lines
259 B
HTML
<!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> |