mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-06 00:51:51 +00:00
LibWeb: Keep delaying the load event on concurrent <object> tasks
If we queue the <object> representation task multiple times in a row, we would end up clearing the delayer after the first task completed. We must continue delaying the load event until the last task completes. This becomes an issue in an upcoming commit to import the acid2 test.
This commit is contained in:
parent
874e094ed8
commit
1bc7a52587
Notes:
github-actions[bot]
2025-05-22 21:45:53 +00:00
Author: https://github.com/trflynn89
Commit: 1bc7a52587
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4843
Reviewed-by: https://github.com/tcl3 ✅
2 changed files with 7 additions and 7 deletions
|
@ -95,8 +95,8 @@ private:
|
|||
|
||||
GC::Ptr<DOM::DocumentObserver> m_document_observer;
|
||||
|
||||
Optional<DOM::DocumentLoadEventDelayer> m_document_load_event_delayer_for_object_representation_task;
|
||||
Optional<DOM::DocumentLoadEventDelayer> m_document_load_event_delayer_for_resource_load;
|
||||
Vector<DOM::DocumentLoadEventDelayer> m_document_load_event_delayer_for_object_representation_task;
|
||||
Vector<DOM::DocumentLoadEventDelayer> m_document_load_event_delayer_for_resource_load;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue