1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:47:35 +00:00

LibWeb: Visit m_when_defined_promise_map in CustomElementRegistry

This commit is contained in:
Aliaksandr Kalenik 2024-03-11 19:57:08 +01:00 committed by Alexander Kalenik
parent 90112468ac
commit bf11f4f73f
2 changed files with 6 additions and 4 deletions

View file

@ -47,7 +47,7 @@ private:
// https://html.spec.whatwg.org/multipage/custom-elements.html#when-defined-promise-map
// Every CustomElementRegistry also has a when-defined promise map, mapping valid custom element names to promises. It is used to implement the whenDefined() method.
OrderedHashMap<String, JS::Handle<JS::Promise>> m_when_defined_promise_map;
OrderedHashMap<String, JS::NonnullGCPtr<JS::Promise>> m_when_defined_promise_map;
};
}