Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-06 | LibWeb: Always allow scripting in workers for now | Andreas Kling | |
Workers don't have a document, so we can't ask them if scripting is enabled or not. This is not the right long-term fix, but it fixes an assertion when trying to query the missing responsible document of a web worker. | |||
2022-09-06 | LibWeb: Give web workers a (totally hacky) Window object | Andreas Kling | |
This is *not* according to spec, however we currently store prototypes and constructors on Window, so the only way for objects in a worker context to become fully formed is to make a Window. Long-term we should clean this up and remove the worker window object, but for now it allows workers to exist without asserting. | |||
2022-09-06 | LibWeb: Remove the NoInstanceWrapper extended IDL attribute | Andreas Kling | |
No interfaces require wrappers anymore, so we can just make this the default mode. | |||
2022-09-06 | LibWeb: Remove now-unused Bindings::wrap() | Andreas Kling | |
2022-09-06 | LibWeb: Stop using Bindings::wrap() in a bunch of places | Andreas Kling | |
wrap() is now basically a no-op so we should stop using it everywhere and eventually remove it. This patch removes uses of wrap() in non-generated code. | |||
2022-09-06 | LibWeb: Use the WRAPPER_HACK() macro instead of hand-coding wrap() | Andreas Kling | |
This macro will soon go away, but let's start by replacing all the hand-coded versions of wrap() with this macro that expands to the same exact thing. | |||
2022-09-06 | LibWeb: Remove now-unused Bindings::Wrapper class | Andreas Kling | |
2022-09-06 | LibWeb: Remove now-unused Bindings::Wrappable class | Andreas Kling | |
2022-09-06 | LibWeb: Remove the NO_INSTANCE option now that all wrappers are gone | Andreas Kling | |
2022-09-06 | LibWeb: Make DOMException GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make LocationObject a PlatformObject | Andreas Kling | |
2022-09-06 | LibWeb: Make WorkerNavigator GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make WorkerLocation GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make IntersectionObserver GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make URL, URLSearchParams & URLSearchParamsIterator GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make ResizeObserver GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make IdleDeadline GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make Selection GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make Crypto GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make Headers and HeadersIterator GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make Blob and File GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make TextDecoder GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make TextEncoder GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make DOMRect, DOMRectReadOnly and DOMRectList GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make DOMPoint and DOMPointReadOnly GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Remove unused HTML::Window::create_with_document() | Andreas Kling | |
2022-09-06 | LibWeb: Make SubtleCrypto GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make Storage GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Use target's global object when creating focus/blur events | Andreas Kling | |
2022-09-06 | LibWeb: Don't allocate DOMStringMap in HTMLElement constructor | Andreas Kling | |
Allocations go in initialize(). | |||
2022-09-06 | LibWeb: Don't allocate NamedNodeMap in Element constructor | Andreas Kling | |
Allocations should happen in the initialize() virtual, so move it there. | |||
2022-09-06 | LibWeb: Use cached_web_prototype() as much as possible | Andreas Kling | |
Unlike ensure_web_prototype<T>(), the cached version doesn't require the prototype type to be fully formed, so we can use it without including the FooPrototype.h header. It's also a bit less verbose. :^) | |||
2022-09-06 | LibWeb: Add some missing constructors to the Window object | Andreas Kling | |
2022-09-06 | LibWeb: Use correct Window object when dispatching Document load event | Andreas Kling | |
2022-09-06 | LibWeb: Use correct relevant settings object in Document initialization | Andreas Kling | |
The code was not in line with the spec comment right above it. | |||
2022-09-06 | LibWeb: Make StyleSheet mark its owner node | Andreas Kling | |
The garbage collector will take care of cycles. | |||
2022-09-06 | LibWeb: Make CSSImportList mark its document | Andreas Kling | |
We don't need to use a WeakPtr here anymore, since the garbage collector will resolve any cycles. | |||
2022-09-06 | LibWeb: Make Document::is_fully_active() more robust | Andreas Kling | |
We were missing a check for null browsing context container documents. | |||
2022-09-06 | LibWeb: Don't capture raw ptr in Document::completely_finish_loading() | Andreas Kling | |
It's not safe to capture a raw pointer in a HTML task, as the garbage collector doesn't have visibility into the task captures. | |||
2022-09-06 | LibWeb: Make XMLSerializer GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make TextMetrics GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make Path2D GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make CanvasGradient GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make ImageData GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make 2D and 3D canvas rendering contexts GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make AbortController GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make SVGLength and SVGAnimatedLength GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb: Make History GC-allocated | Andreas Kling | |
2022-09-06 | LibWeb+LibJS: Let JS::Realm::HostDefined objects mark things during GC | Andreas Kling | |
This allows us to mark the HTML::Window from our window environment settings object. | |||
2022-09-06 | LibWeb: Make MessageChannel GC-allocated | Andreas Kling | |