mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Implement window.close and window.closed
This commit is contained in:
parent
ae130822a0
commit
aa1df95b31
Notes:
github-actions[bot]
2024-10-06 00:43:21 +00:00
Author: https://github.com/trflynn89
Commit: aa1df95b31
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1644
Reviewed-by: https://github.com/shannonbooth ✅
7 changed files with 86 additions and 6 deletions
|
@ -69,6 +69,7 @@ public:
|
|||
|
||||
bool is_closing() const { return m_closing; }
|
||||
void set_closing(bool value) { m_closing = value; }
|
||||
bool is_script_closable();
|
||||
|
||||
void set_delaying_load_events(bool value);
|
||||
bool is_delaying_load_events() const { return m_delaying_the_load_event.has_value(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue