mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:57:34 +00:00
LibWeb: Implement the window.opener
attribute
This returns a reference to the window that opened the current window.
This commit is contained in:
parent
5713c2ffdd
commit
fc1f037cd1
5 changed files with 63 additions and 0 deletions
|
@ -35,6 +35,7 @@ interface Window : EventTarget {
|
|||
[Replaceable] readonly attribute WindowProxy frames;
|
||||
[Replaceable] readonly attribute unsigned long length;
|
||||
[LegacyUnforgeable] readonly attribute WindowProxy? top;
|
||||
attribute any opener;
|
||||
[Replaceable] readonly attribute WindowProxy? parent;
|
||||
readonly attribute Element? frameElement;
|
||||
WindowProxy? open(optional USVString url = "", optional DOMString target = "_blank", optional [LegacyNullToEmptyString] DOMString features = "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue