ladybird/Tests/LibWeb/Text/input/DOM/Window-methods-that-must-do-nothing.html
Tim Ledbetter 88f3145f8a LibWeb: Add methods to Window that must do nothing
This change adds the `captureEvents()` and `releaseEvents()` methods to
the window object. These methods are obsolete, but are still included
in the HTML specification, which says they must do nothing.
2024-04-14 10:45:43 +02:00

8 lines
302 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {
println(`window.captureEvents() returns undefined: ${window.captureEvents() === undefined}`);
println(`window.releaseEvents() returns undefined: ${window.releaseEvents() === undefined}`);
});
</script>