mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibWeb/HTML: Port Window.focus() to IDL
This commit is contained in:
parent
b59505aba5
commit
56550b6ec0
Notes:
sideshowbarker
2024-07-16 23:13:27 +09:00
Author: https://github.com/linusg
Commit: 56550b6ec0
Pull-request: https://github.com/SerenityOS/serenity/pull/17752
Reviewed-by: https://github.com/awesomekling
3 changed files with 21 additions and 24 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue