1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:18:12 +00:00

LibWeb: Implement (naive) version of HTMLIFrameElement.contentWindow

This should really return the WindowProxy, but since we don't have the
infrastructure set up just yet, just return the window object itself
for now.
This commit is contained in:
Andreas Kling 2022-08-04 20:13:52 +02:00
parent 8909ef5b90
commit 2801ddfa76
3 changed files with 14 additions and 0 deletions

View file

@ -13,6 +13,9 @@ interface HTMLIFrameElement : HTMLElement {
readonly attribute Document? contentDocument;
// FIXME: Should return a WindowProxy?
readonly attribute Window? contentWindow;
[Reflect] attribute DOMString align;
[Reflect] attribute DOMString scrolling;
[Reflect=frameborder] attribute DOMString frameBorder;