Files
Kmake/test/fixtures/wpt/common/dispatcher/executor.html
2026-05-26 23:36:42 -07:00

16 lines
309 B
HTML

<script src="./dispatcher.js"></script>
<script>
const params = new URLSearchParams(window.location.search);
const uuid = params.get('uuid');
let executeOrders = async function() {
while(true) {
let task = await receive(uuid);
eval(`(async () => {${task}})()`);
}
};
executeOrders();
</script>