mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-17 16:42:54 +00:00
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.
8 lines
302 B
HTML
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>
|