LibWeb: Implement window.close and window.closed

This commit is contained in:
Timothy Flynn 2024-10-05 15:56:35 -04:00 committed by Tim Ledbetter
commit aa1df95b31
Notes: github-actions[bot] 2024-10-06 00:43:21 +00:00
7 changed files with 86 additions and 6 deletions

View file

@ -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(); }