1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:08:13 +00:00
serenity/Userland/Libraries/LibWeb
Aliaksandr Kalenik a41f23a0fc LibWeb: Fix document leak in SVGDecodedImageData
The SVGDecodedImageData creates a new Page and replaces its document
with a new one that contains SVG content. This change adds a destroy
call on the replaced document. Without this addition, all tasks
scheduled on the event loop during navigation, initiated while the
page's traversable is being created, will never execute, as the
initial replaced document will become inactive. This leads to a
document leak because the tasks use JS::Handle to hold document
pointer. Making the destroy call resolves the issue because it removes
all tasks associated with the destroyed document from the queue.
2023-09-25 14:31:20 +02:00
..
ARIA Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
Bindings LibWeb: Insert WindowProperties object into Window's prototype chain 2023-09-22 19:55:59 -06:00
Cookie LibWeb: Make Document::set_cookie take a StringView 2023-09-13 07:26:35 +02:00
Crypto LibWeb: Port DOMException interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
CSS LibWeb: Fix memory leak in CSS::ImageStyleValue 2023-09-25 04:16:36 +02:00
DOM Ladybird+LibWeb: Use old error.html template for navigation errors again 2023-09-24 19:59:00 -06:00
DOMParsing LibWeb: Port CharacterData from DeprecatedString to String 2023-09-19 10:54:07 +02:00
Encoding LibWeb: Port TextEncoder interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
Fetch LibJS: Stop propagating small OOM errors from the Error object 2023-09-09 13:03:25 -04:00
FileAPI LibWeb: Add an initial implementation for Web::FileAPI::FileReader 2023-09-17 16:37:31 -06:00
Geometry LibWeb: Add DOMMatrix rotate, rotateFromVector and rotateAxisAngle 2023-09-24 20:02:38 -06:00
HighResolutionTime LibWeb: Port DOMException interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
HTML Ladybird+LibWeb: Use old error.html template for navigation errors again 2023-09-24 19:59:00 -06:00
Infra LibJS: Make PrimitiveString::utf8_string() infallible 2023-08-09 17:09:16 +02:00
Internals LibWeb: Remove FrameLoader 2023-09-20 18:29:17 +02:00
IntersectionObserver LibWeb: Update IntersectionObserver::intersection_root() for navigables 2023-09-16 16:53:32 +02:00
Layout LibWeb: Boxes that establish FFC or GFC should avoid overlapping floats 2023-09-22 16:48:28 +02:00
Loader Ladybird+LibWeb: Use old error.html template for navigation errors again 2023-09-24 19:59:00 -06:00
MathML LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
MimeSniff LibWeb: Add missing String.h include to MimeSniff/MimeType.h 2023-09-17 16:37:31 -06:00
NavigationTiming LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
Page LibWeb: Remove FrameLoader 2023-09-20 18:29:17 +02:00
Painting LibWeb: Remove FrameLoader 2023-09-20 18:29:17 +02:00
PerformanceTimeline LibWeb: Port DOMException interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
PermissionsPolicy LibWeb+LibWebView+WebContent: Add APIs to manage an autoplay allowlist 2023-04-18 16:30:02 +02:00
Platform LibWeb: Make FontPlugin::generic_font_name() return FlyString 2023-09-06 11:29:03 -04:00
ReferrerPolicy AK: Port URL username/password from DeprecatedString to String 2023-08-13 15:03:53 -06:00
RequestIdleCallback LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
ResizeObserver LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
SecureContexts AK: Serialize URL hosts with 'concept-host-serializer' 2023-07-31 05:18:51 +02:00
Selection LibWeb: Port DOMException interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
SRI LibWeb: Implement integrity-metadata part of fetch algorithm 2023-04-21 20:44:47 +01:00
Streams LibWeb/Streams: Make ReadIntoRequest GC-allocated 2023-09-24 20:10:50 -06:00
SVG LibWeb: Fix document leak in SVGDecodedImageData 2023-09-25 14:31:20 +02:00
UIEvents LibWeb: Add modifier keys to MouseEvent 2023-09-15 22:12:56 +02:00
URL LibWeb/URL: Use the correct spec URL comment for URL::port() 2023-09-19 08:18:45 +02:00
UserTiming LibWeb: Port DOMException interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
WebAssembly LibJS+LibWeb+WebContent: Stop using ThrowableStringBuilder 2023-09-09 13:03:25 -04:00
WebAudio LibWeb: Port DOMException interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
WebDriver LibWeb: Change viewport ownership from BrowsingContext to Navigable 2023-09-16 16:53:32 +02:00
WebGL LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
WebIDL LibWeb/WebIDL: Implement the wait for all AO 2023-09-23 18:57:31 +02:00
WebSockets LibWeb: Port DOMException interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
XHR LibWeb: Port Document interface from DeprecatedString to String 2023-09-16 11:17:19 +02:00
XML LibWeb: Port CharacterData from DeprecatedString to String 2023-09-19 10:54:07 +02:00
CMakeLists.txt Ladybird+LibWeb: Rename FileDirectoryLoader to GeneratedPagesLoader 2023-09-24 19:59:00 -06:00
Dump.cpp LibWeb: Port Node interface from DeprecatedString to String 2023-09-17 20:29:18 +02:00
Dump.h LibWeb+WebContent: Add option to dump session history of a traversable 2023-09-16 16:53:32 +02:00
FontCache.cpp LibGfx: Convert Font APIs to return String instead of DeprecatedString 2023-09-06 11:29:03 -04:00
FontCache.h LibWeb: Invalidate font cache when web fonts are downloaded 2023-08-24 22:07:00 +01:00
Forward.h LibWeb: Replace OverflowStyleValue with ShorthandStyleValue 2023-09-25 00:46:21 +01:00
idl_files.cmake LibWeb: Add IDL definition for SVGScriptElement 2023-09-23 11:41:57 +02:00
Namespace.cpp AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
Namespace.h AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
PixelUnits.cpp LibWeb: Inline and constexpr most PixelUnits methods 2023-08-05 20:03:09 +02:00
PixelUnits.h LibWeb: Use CSSPixels only when calculating radial gradient sizes 2023-09-09 13:03:11 +02:00
TreeNode.h LibWeb: Remove all the unused functions from TreeNode 2023-08-20 05:02:59 +02:00