1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +00:00

LibWeb: Rename loaded observer event to match spec

The `document_fully_loaded` event should use the adjective "completely"
so as to match the spec and code convention. See
`Document::is_completely_loaded` and `m_completely_loaded_time`.
This commit is contained in:
Sebastian Zaha 2023-07-12 11:19:08 +02:00 committed by Andreas Kling
parent bf3144fcff
commit d24667a1b6
3 changed files with 4 additions and 4 deletions

View file

@ -1774,8 +1774,8 @@ void Document::completely_finish_loading()
auto observers_to_notify = m_document_observers.values();
for (auto& document_observer : observers_to_notify) {
if (document_observer->document_fully_loaded)
document_observer->document_fully_loaded();
if (document_observer->document_completely_loaded)
document_observer->document_completely_loaded();
}
}