2025-03-18 15:28:35 -03:00
|
|
|
<!DOCTYPE html>
|
2023-06-06 02:07:27 -03:00
|
|
|
<script src="include.js"></script>
|
|
|
|
|
<script>
|
2024-10-02 13:58:07 -03:00
|
|
|
asyncTest(done => {
|
|
|
|
|
globalThis.done = done;
|
|
|
|
|
|
2023-09-14 14:17:32 -03:00
|
|
|
let link = document.createElement("link");
|
|
|
|
|
link.setAttribute("rel", "preload");
|
|
|
|
|
link.setAttribute("href", "valid.css");
|
|
|
|
|
link.setAttribute("as", "style");
|
2024-10-02 13:58:07 -03:00
|
|
|
link.setAttribute("onload", "println('link element onload'); done();");
|
2023-09-14 14:17:32 -03:00
|
|
|
document.head.appendChild(link);
|
|
|
|
|
});
|
2023-06-06 02:07:27 -03:00
|
|
|
</script>
|