mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:58:12 +00:00
LibWeb: Make DOMStringMap GC-allocated
This commit is contained in:
parent
72bacba97b
commit
ae11d70b0c
8 changed files with 35 additions and 25 deletions
|
@ -38,7 +38,8 @@ public:
|
|||
|
||||
bool cannot_navigate() const;
|
||||
|
||||
NonnullRefPtr<DOMStringMap> dataset() const { return m_dataset; }
|
||||
DOMStringMap* dataset() { return m_dataset.cell(); }
|
||||
DOMStringMap const* dataset() const { return m_dataset.cell(); }
|
||||
|
||||
void focus();
|
||||
|
||||
|
@ -65,7 +66,7 @@ private:
|
|||
};
|
||||
ContentEditableState content_editable_state() const;
|
||||
|
||||
NonnullRefPtr<DOMStringMap> m_dataset;
|
||||
JS::Handle<DOMStringMap> m_dataset;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#locked-for-focus
|
||||
bool m_locked_for_focus { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue