mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
11 lines
367 B
HTML
11 lines
367 B
HTML
<script src="../include.js"></script>
|
|
<script>
|
|
asyncTest(done => {
|
|
let work = new Worker("Worker-location.js");
|
|
work.onmessage = (evt) => {
|
|
const locationURL = new URL(evt.data);
|
|
println(`location global object URL final segment: ${locationURL.pathname.split('/').pop()}`);
|
|
done();
|
|
};
|
|
});
|
|
</script>
|