mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-10 02:51:55 +00:00
16 lines
450 B
HTML
16 lines
450 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
asyncTest(done => {
|
|
const worker = new Worker("DedicatedWorkerGlobalScope-instanceof-worker.js");
|
|
worker.onmessage = function (event) {
|
|
if (event.data.result === true) {
|
|
println("PASS");
|
|
} else {
|
|
println("FAIL");
|
|
}
|
|
done();
|
|
};
|
|
worker.postMessage("run");
|
|
});
|
|
</script>
|