1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 01:17:36 +00:00
serenity/Userland/Libraries/LibWeb
Andreas Kling e4621704ce LibWeb: Avoid unnecessary JS::Handles in Node::queue_mutation_record()
We don't need to make a list of the target node's ancestors before
iterating over them, since nothing happens while iterating them that
can disturb the list anyway (no arbitrary JS execution etc).

The incessant construction and destruction of handles here was showing
up in profiles of basically every website that uses JavaScript to build
some or all of their DOM tree.
2023-11-02 07:48:51 +01:00
..
ARIA LibWeb: Port Element interface from DeprecatedString 2023-10-06 08:25:40 +02:00
Bindings LibJS+LibWeb: Bring script fetching closer to the spec 2023-10-31 18:09:14 +01:00
Cookie LibWeb: Make Document::set_cookie take a StringView 2023-09-13 07:26:35 +02:00
Crypto LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
CSS LibWeb: Add plumbing for the new 'object-position' property 2023-10-30 10:40:30 +00:00
DOM LibWeb: Avoid unnecessary JS::Handles in Node::queue_mutation_record() 2023-11-02 07:48:51 +01:00
DOMParsing LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
Encoding LibWeb: Add TextEncoder encodeInto 2023-10-29 21:44:53 +01:00
Fetch LibWeb/Fetch: Implement changes to priority 2023-10-31 18:09:14 +01:00
FileAPI LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
Geometry LibWeb: Add DOMMatrix fromFloat32Array and fromFloat64Array 2023-10-03 16:15:14 -06:00
HighResolutionTime LibWeb: Port DOMException interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
HTML LibJS+Embedders: Unify stack trace format for uncaught errors 2023-11-02 07:37:41 +01: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: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
Layout LibWeb: Account for box-sizing in grid-items width calculation 2023-11-02 07:37:11 +01:00
Loader LibWeb: Make ResourceLoader pass body and headers in error callback 2023-10-03 09:41:56 +02:00
MathML LibWeb: Reorder and add missing HTML elements IDL items 2023-10-25 19:45:41 +02:00
MimeSniff LibWeb/MimeSniff: Add MimeType::is_json() 2023-10-04 09:20:47 +01:00
NavigationTiming LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
Page LibWeb: Remove Element::set_attribute(name, value?) 2023-10-14 09:12:41 -04:00
Painting LibAccelGfx+LibWeb: Implement draw_scaled_bitmap() 2023-11-02 07:41:51 +01: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 LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
SecureContexts AK: Serialize URL hosts with 'concept-host-serializer' 2023-07-31 05:18:51 +02:00
Selection LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
SRI LibWeb: Implement integrity-metadata part of fetch algorithm 2023-04-21 20:44:47 +01:00
Streams LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
SVG LibWeb: Layout SVG <text> elements during layout (not while painting) 2023-10-30 19:44:54 +01:00
UIEvents LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
URL LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
UserTiming LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
WebAssembly LibJS+LibWeb+WebContent: Stop using ThrowableStringBuilder 2023-09-09 13:03:25 -04:00
WebAudio LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
WebDriver LibWeb: Create canvas bitmap when not existing in toDataURL and toBlob 2023-09-28 13:09:25 +02:00
WebGL LibJS: Inline fast case for Value::to_{boolean,number,numeric,primitive} 2023-10-07 07:13:52 +02:00
WebIDL LibWeb/WebIDL: Implement the wait for all AO 2023-09-23 18:57:31 +02:00
WebSockets LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
XHR LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
XML LibWeb/XML: Avoid placing all elements missing an ns in the HTML ns 2023-10-07 20:02:10 +02:00
CMakeLists.txt CMake: Use a helper file to find GL and EGL in a platform agnostic way 2023-10-31 02:32:58 -06:00
Dump.cpp AK+Everywhere: Remove the null state of DeprecatedString 2023-10-13 18:33:21 +03:30
Dump.h LibWeb+WebContent: Add option to dump session history of a traversable 2023-09-16 16:53:32 +02:00
FontCache.cpp LibWeb: Remove some unused DeprecatedFlyString includes 2023-10-08 08:11:48 -04:00
FontCache.h LibWeb: Invalidate font cache when web fonts are downloaded 2023-08-24 22:07:00 +01:00
Forward.h LibWeb: Add TextEncoder encodeInto 2023-10-29 21:44:53 +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