1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +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:
Andreas Kling 2022-11-04 10:05:10 +01:00
parent 4de3449ad6
commit ac329d0a18
3 changed files with 5 additions and 8 deletions

View file

@ -24,7 +24,7 @@ public:
const DOM::Document* content_document() const;
DOM::Document const* content_document_without_origin_check() const;
HTML::Window* content_window() const;
HTML::WindowProxy* content_window();
DOM::Document const* get_svg_document() const;