mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
LibWeb: Add missing visits in MessageEvent
Also change a Vector<Handle> to a Vector<NonnullGCPtr> while we're here, since there's no need to use handles for members of a cell. Fixes an ASAN error on the HTML/Window-postMessage.html test.
This commit is contained in:
parent
413eb19579
commit
b84056c05b
2 changed files with 9 additions and 2 deletions
|
@ -48,7 +48,7 @@ private:
|
|||
String m_origin;
|
||||
String m_last_event_id;
|
||||
Optional<MessageEventSource> m_source;
|
||||
Vector<JS::Handle<JS::Object>> m_ports;
|
||||
Vector<JS::NonnullGCPtr<JS::Object>> m_ports;
|
||||
mutable JS::GCPtr<JS::Array> m_ports_array;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue