mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +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:
parent
bf3144fcff
commit
d24667a1b6
3 changed files with 4 additions and 4 deletions
|
@ -33,7 +33,7 @@ JS::ThrowCompletionOr<void> SVGUseElement::initialize(JS::Realm& realm)
|
|||
set_shadow_root(shadow_root);
|
||||
|
||||
m_document_observer = TRY(realm.heap().allocate<DOM::DocumentObserver>(realm, realm, document()));
|
||||
m_document_observer->document_fully_loaded = [this]() {
|
||||
m_document_observer->document_completely_loaded = [this]() {
|
||||
clone_element_tree_as_our_shadow_tree(referenced_element());
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue