1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

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

This commit is contained in:
Linus Groh 2023-03-06 22:25:04 +00:00
parent b59505aba5
commit 56550b6ec0
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;