mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
LibWeb: Call Document::set_window() from Document::make_active()
This commit is contained in:
parent
24b3e315a0
commit
3171abe92a
2 changed files with 2 additions and 2 deletions
|
@ -3011,6 +3011,8 @@ void Document::make_active()
|
|||
// 1. Let window be document's relevant global object.
|
||||
auto& window = verify_cast<HTML::Window>(HTML::relevant_global_object(*this));
|
||||
|
||||
set_window(window);
|
||||
|
||||
// 2. Set document's browsing context's WindowProxy's [[Window]] internal slot value to window.
|
||||
m_browsing_context->window_proxy()->set_window(window);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue