mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 23:59:49 +00:00
Tests/LibWeb: Fix iframe-load-event-for-bad-xml.html test
This was supposed to be an async test (and work correctly, too!)
This fixes up fa43321938
This commit is contained in:
parent
fa1eef8bbe
commit
4a795bef48
Notes:
sideshowbarker
2024-07-17 03:03:15 +09:00
Author: https://github.com/awesomekling
Commit: 4a795bef48
2 changed files with 3 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
||||||
<iframe id="i1"></iframe>
|
<iframe id="i1"></iframe>
|
||||||
<script src="../include.js"></script>
|
<script src="../include.js"></script>
|
||||||
<script>
|
<script>
|
||||||
test(() => {
|
asyncTest((done) => {
|
||||||
i1.src = "data:application/xml;charset=utf-8;base64,vwo=";
|
i1.src = "data:application/xml;charset=utf-8;base64,vwo=";
|
||||||
i1.onload = function() {
|
i1.onload = function() {
|
||||||
println("OK");
|
println("OK");
|
||||||
|
done();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue