mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibWeb: Make HTMLIFrameElement.contentWindow return the WindowProxy
This fixes an issue where contentWindow was not accessible immediately after programmatically creating an iframe element.
This commit is contained in:
parent
4de3449ad6
commit
ac329d0a18
3 changed files with 5 additions and 8 deletions
|
@ -15,8 +15,7 @@ interface HTMLIFrameElement : HTMLElement {
|
|||
|
||||
readonly attribute Document? contentDocument;
|
||||
|
||||
// FIXME: Should return a WindowProxy?
|
||||
readonly attribute Window? contentWindow;
|
||||
readonly attribute WindowProxy? contentWindow;
|
||||
|
||||
[Reflect] attribute DOMString align;
|
||||
[Reflect] attribute DOMString scrolling;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue