1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

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

This commit is contained in:
Linus Groh 2023-03-05 21:56:26 +00:00
parent efa48142d2
commit b2409517bd
3 changed files with 9 additions and 24 deletions

View file

@ -20,6 +20,7 @@ interface Window : EventTarget {
[LegacyUnforgeable] readonly attribute WindowProxy? top;
[Replaceable] readonly attribute WindowProxy? parent;
readonly attribute Element? frameElement;
WindowProxy? open(optional USVString url = "", optional DOMString target = "_blank", optional [LegacyNullToEmptyString] DOMString features = "");
// the user agent
readonly attribute Navigator navigator;