1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

LibWeb: Add document_fully_loaded event to DocumentObserver

SVGUseElement needs to be able to query the fully loaded document for
its referenced element.
This commit is contained in:
PrestonLTaylor 2023-05-30 21:05:49 +01:00 committed by Andreas Kling
parent 31d536912c
commit b322abd8d0
2 changed files with 6 additions and 0 deletions

View file

@ -18,6 +18,7 @@ class DocumentObserver final : public Bindings::PlatformObject {
public:
JS::SafeFunction<void()> document_became_inactive;
JS::SafeFunction<void()> document_fully_loaded;
private:
explicit DocumentObserver(JS::Realm&, DOM::Document&);