LibWeb/HTML: Port Window.focus() to IDL

This commit is contained in:
Linus Groh 2023-03-06 22:25:04 +00:00
commit 56550b6ec0
Notes: sideshowbarker 2024-07-16 23:13:27 +09:00
3 changed files with 21 additions and 24 deletions

View file

@ -18,6 +18,7 @@ interface Window : EventTarget {
attribute DOMString name;
[PutForwards=href, LegacyUnforgeable] readonly attribute Location location;
readonly attribute History history;
undefined focus();
// other browsing contexts
[Replaceable] readonly attribute WindowProxy frames;