mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 02:46:22 +02:00
The supported property names should be ordered in "tree order", though m_cached_name_to_element_mappings doesn't preserve this ordering, which breaks Object.getOwnPropertyNames. Fixes at least the following WPT tests: - https://wpt.live/dom/nodes/Element-children.html - https://wpt.live/dom/collections/HTMLCollection-live-mutations.window.html - https://wpt.live/dom/collections/HTMLCollection-supported-property-names.html (cherry picked from commit d00adabc3c13f18ca46e9c8ab329551fdc3fdef3)
6.0 KiB
6.0 KiB