mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-11 02:56:06 +00:00
15 lines
333 B
HTML
15 lines
333 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
var worker = new Worker("https://example.com/tests/dom/workers/test/websocket_https_worker.js");
|
|
|
|
worker.onmessage = function(event) {
|
|
parent.postMessage(event.data, "*");
|
|
};
|
|
|
|
worker.onerror = function(event) {
|
|
parent.postMessage("error", "*");
|
|
};
|
|
|
|
worker.postMessage("start");
|
|
</script>
|