mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:47:35 +00:00
LibWeb: Make Document vend the same HTMLCollections every time
This commit is contained in:
parent
1903dff365
commit
fa2dd4cbe3
2 changed files with 55 additions and 33 deletions
|
@ -486,6 +486,14 @@ private:
|
|||
|
||||
// https://dom.spec.whatwg.org/#concept-document-origin
|
||||
HTML::Origin m_origin;
|
||||
|
||||
JS::GCPtr<HTMLCollection> m_applets;
|
||||
JS::GCPtr<HTMLCollection> m_anchors;
|
||||
JS::GCPtr<HTMLCollection> m_images;
|
||||
JS::GCPtr<HTMLCollection> m_embeds;
|
||||
JS::GCPtr<HTMLCollection> m_links;
|
||||
JS::GCPtr<HTMLCollection> m_forms;
|
||||
JS::GCPtr<HTMLCollection> m_scripts;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue