mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
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.
This commit is contained in:
parent
0564e06f10
commit
88f3145f8a
Notes:
sideshowbarker
2024-07-17 02:38:39 +09:00
Author: https://github.com/tcl3
Commit: 88f3145f8a
Pull-request: https://github.com/SerenityOS/serenity/pull/23959
5 changed files with 28 additions and 0 deletions
|
@ -110,6 +110,9 @@ interface Window : EventTarget {
|
|||
|
||||
// https://w3c.github.io/webcrypto/#crypto-interface
|
||||
[SameObject] readonly attribute Crypto crypto;
|
||||
|
||||
undefined captureEvents();
|
||||
undefined releaseEvents();
|
||||
};
|
||||
Window includes AnimationFrameProvider;
|
||||
Window includes GlobalEventHandlers;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue