mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 16:37:47 +00:00
LibWeb: Move event listeners, handlers and callbacks to the GC heap
This patch moves the following things to being GC-allocated: - Bindings::CallbackType - HTML::EventHandler - DOM::IDLEventListener - DOM::DOMEventListener - DOM::NodeFilter Note that we only use PlatformObject for things that might be exposed to web content. Anything that is only used internally inherits directly from JS::Cell instead, making them a bit more lightweight.
This commit is contained in:
parent
967a3e5a45
commit
8cda70c892
57 changed files with 425 additions and 345 deletions
|
@ -217,7 +217,7 @@ class DOMStringMap;
|
|||
struct Environment;
|
||||
struct EnvironmentSettingsObject;
|
||||
class ErrorEvent;
|
||||
struct EventHandler;
|
||||
class EventHandler;
|
||||
class EventLoop;
|
||||
class HTMLAnchorElement;
|
||||
class HTMLAreaElement;
|
||||
|
@ -451,7 +451,6 @@ class AbortControllerWrapper;
|
|||
class AbortSignalWrapper;
|
||||
class AttributeWrapper;
|
||||
class BlobWrapper;
|
||||
struct CallbackType;
|
||||
class CanvasGradientWrapper;
|
||||
class CanvasRenderingContext2DWrapper;
|
||||
class CDATASectionWrapper;
|
||||
|
@ -472,7 +471,6 @@ class DOMRectReadOnlyWrapper;
|
|||
class DOMRectWrapper;
|
||||
class ElementWrapper;
|
||||
class ErrorEventWrapper;
|
||||
class EventListenerWrapper;
|
||||
class EventTargetWrapper;
|
||||
class EventWrapper;
|
||||
class FileWrapper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue