playwright/tests/assets/worker/worker-http-import.html

15 lines
326 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<title>Remote importScripts Test</title>
</head>
<html>
<div id="status">-</div>
<script>
new Worker('worker-http-import.js').addEventListener("message", ({ data }) => {
document.getElementById("status").innerText = data;
});
</script>
</html>
</html>