1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 14:25:08 +00:00
serenity/Userland/Libraries/LibWeb/HTML
Andreas Kling b0b022507b LibJS: Reduce AST memory usage by shrink-wrapping source range info
Before this change, each AST node had a 64-byte SourceRange member.
This SourceRange had the following layout:

    filename:       StringView (16 bytes)
    start:          Position (24 bytes)
    end:            Position (24 bytes)

The Position structs have { line, column, offset }, all members size_t.

To reduce memory consumption, AST nodes now only store the following:

    source_code:    NonnullRefPtr<SourceCode> (8 bytes)
    start_offset:   u32 (4 bytes)
    end_offset:     u32 (4 bytes)

SourceCode is a new ref-counted data structure that keeps the filename
and original parsed source code in a single location, and all AST nodes
have a pointer to it.

The start_offset and end_offset can be turned into (line, column) when
necessary by calling SourceCode::range_from_offsets(). This will walk
the source code string and compute line/column numbers on the fly, so
it's not necessarily fast, but it should be rare since this information
is primarily used for diagnostics and exception stack traces.

With this, ASTNode shrinks from 80 bytes to 32 bytes. This gives us a
~23% reduction in memory usage when loading twitter.com/awesomekling
(330 MiB before, 253 MiB after!) :^)
2022-11-22 21:13:35 +01:00
..
Canvas LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
CrossOrigin LibWeb: Add the 'opener browsing context' BrowsingContext property 2022-11-15 21:48:19 +00:00
EventLoop LibWeb: Add a flag to pause an HTML event loop's execution 2022-11-16 17:23:56 +00:00
Parser LibWeb: Remove unused should_invalidate_styles_on_attribute_changes() 2022-11-21 10:12:07 +01:00
Scripting LibJS: Reduce AST memory usage by shrink-wrapping source range info 2022-11-22 21:13:35 +01:00
SyntaxHighlighter LibWeb: Syntax-highlight CSS within HTML :^) 2021-10-23 19:07:44 +02:00
AnimationFrameCallbackDriver.h LibWeb+WebContent: Add abstraction layer for event loop and timers 2022-09-07 20:30:31 +02:00
AttributeNames.cpp LibWeb: Define method to check if an attribute is a boolean attribute 2022-11-10 17:02:11 +00:00
AttributeNames.h LibWeb: Implement bare-bones HTMLElement.dir 2022-11-13 16:37:09 -07:00
BrowsingContext.cpp Everywhere: Remove unnecessary mutable attributes from lambdas 2022-11-19 14:37:31 +00:00
BrowsingContext.h LibWeb: Bring BrowsingContext::choose_a_browsing_context closer to spec 2022-11-15 21:48:19 +00:00
BrowsingContextContainer.cpp LibWeb: Return after firing the iframe load event for about:blank 2022-11-07 14:10:41 +01:00
BrowsingContextContainer.h LibWeb: Make HTMLIFrameElement.contentWindow return the WindowProxy 2022-11-04 10:38:00 +01:00
BrowsingContextGroup.cpp LibWeb: Make BrowsingContext GC-allocated 2022-10-20 15:16:23 +02:00
BrowsingContextGroup.h LibWeb: Make BrowsingContext GC-allocated 2022-10-20 15:16:23 +02:00
CanvasGradient.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
CanvasGradient.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
CanvasGradient.idl LibWeb: Add barebones CanvasGradient object 2022-02-03 22:35:13 +01:00
CanvasRenderingContext2D.cpp LibJS+LibWeb: Return non-const types from Ptr class operators 2022-11-19 14:37:31 +00:00
CanvasRenderingContext2D.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
CanvasRenderingContext2D.idl LibWeb: Add fixmes for other missing CRC2D mixins 2022-08-14 11:30:40 +02:00
CloseEvent.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
CloseEvent.h LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
CloseEvent.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
DocumentReadyState.h LibWeb: Store HTML document ready state as an enum 2021-09-26 12:47:51 +02:00
DOMParser.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
DOMParser.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
DOMParser.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
DOMStringMap.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
DOMStringMap.h LibWeb: Make DOMStringMap a LegacyPlatformObject 2022-10-10 20:22:50 +02:00
DOMStringMap.idl LibWeb: Add support for HTMLOrSVGElement.dataset 2021-09-26 18:59:56 +02:00
ErrorEvent.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
ErrorEvent.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
ErrorEvent.idl LibWeb: Implement ErrorEvent 2022-02-07 14:58:18 +01:00
EventHandler.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
EventHandler.h LibWeb: Move CallbackType from Bindings/ to WebIDL/ 2022-09-24 19:31:39 +01:00
EventNames.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventNames.h LibWeb: Flesh out "document visibility" state a bit more 2022-09-20 10:32:13 +02:00
Focus.cpp LibWeb: Extract the (un)focus steps out of HTMLElement 2022-11-07 14:10:41 +01:00
Focus.h LibWeb: Extract the (un)focus steps out of HTMLElement 2022-11-07 14:10:41 +01:00
FormAssociatedElement.cpp Everywhere: Remove unnecessary mutable attributes from lambdas 2022-11-19 14:37:31 +00:00
FormAssociatedElement.h Everywhere: Fix a bunch of typos 2022-05-29 15:22:00 +02:00
GlobalEventHandlers.cpp LibWeb: Move CallbackType from Bindings/ to WebIDL/ 2022-09-24 19:31:39 +01:00
GlobalEventHandlers.h LibWeb: Move CallbackType from Bindings/ to WebIDL/ 2022-09-24 19:31:39 +01:00
History.cpp LibWeb: Add missing property and methods for history object 2022-10-14 16:01:35 +02:00
History.h LibWeb: Add missing property and methods for history object 2022-10-14 16:01:35 +02:00
History.idl LibWeb: Add missing property and methods for history object 2022-10-14 16:01:35 +02:00
HistoryHandlingBehavior.h LibWeb: Move HistoryHandlingBehavior enum to its own header 2022-09-20 10:32:12 +02:00
HTMLAnchorElement.cpp LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLAnchorElement.h LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLAnchorElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLAreaElement.cpp LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLAreaElement.h LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLAreaElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLAudioElement.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
HTMLAudioElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLAudioElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLBaseElement.cpp LibWeb: Cache the first <base href> (in tree order) in Document 2022-11-05 00:30:10 +01:00
HTMLBaseElement.h LibWeb: Cache the first <base href> (in tree order) in Document 2022-11-05 00:30:10 +01:00
HTMLBaseElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLBlinkElement.cpp LibWeb+WebContent: Add abstraction layer for event loop and timers 2022-09-07 20:30:31 +02:00
HTMLBlinkElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLBodyElement.cpp LibWeb: Support animated backgrounds 2022-11-13 16:53:22 -07:00
HTMLBodyElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLBodyElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLBRElement.cpp LibWeb: Make the layout tree GC-allocated 2022-10-20 15:16:23 +02:00
HTMLBRElement.h LibWeb: Make the layout tree GC-allocated 2022-10-20 15:16:23 +02:00
HTMLBRElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLButtonElement.cpp LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLButtonElement.h LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLButtonElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLCanvasElement.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
HTMLCanvasElement.h LibWeb: Make the layout tree GC-allocated 2022-10-20 15:16:23 +02:00
HTMLCanvasElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLDataElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLDataElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLDataElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLDataListElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLDataListElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLDataListElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLDetailsElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLDetailsElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLDetailsElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLDialogElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLDialogElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLDialogElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLDirectoryElement.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
HTMLDirectoryElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLDirectoryElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLDivElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLDivElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLDivElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLDListElement.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
HTMLDListElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLDListElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLElement.cpp LibWeb: Implement bare-bones HTMLElement.dir 2022-11-13 16:37:09 -07:00
HTMLElement.h LibWeb: Implement bare-bones HTMLElement.dir 2022-11-13 16:37:09 -07:00
HTMLElement.idl LibWeb: Implement bare-bones HTMLElement.dir 2022-11-13 16:37:09 -07:00
HTMLEmbedElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLEmbedElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLEmbedElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLFieldSetElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLFieldSetElement.h LibWeb: Implement :enabled and :disabled pseudo classes to spec 2022-09-30 18:05:48 +02:00
HTMLFieldSetElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLFontElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLFontElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLFontElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLFormElement.cpp LibWeb: Let LoadRequest::set_body() take by value 2022-10-16 02:06:29 +03:30
HTMLFormElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLFormElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLFrameElement.cpp LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLFrameElement.h LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLFrameElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLFrameSetElement.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
HTMLFrameSetElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLFrameSetElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLHeadElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLHeadElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLHeadElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLHeadingElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLHeadingElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLHeadingElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLHRElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLHRElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLHRElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLHtmlElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLHtmlElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLHtmlElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLHyperlinkElementUtils.cpp Everywhere: Remove unnecessary mutable attributes from lambdas 2022-11-19 14:37:31 +00:00
HTMLHyperlinkElementUtils.h LibWeb: Bring handling of anchor elements closer to spec 2022-03-26 14:01:17 +01:00
HTMLHyperlinkElementUtils.idl LibWeb: Extract the HTMLHyperlinkElementUtils IDL mixin 2022-07-29 17:15:49 +01:00
HTMLIFrameElement.cpp LibWeb: Don't call load_src after process_the_iframe_attributes 2022-11-07 14:10:41 +01:00
HTMLIFrameElement.h LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLIFrameElement.idl LibWeb: Make HTMLIFrameElement.contentWindow return the WindowProxy 2022-11-04 10:38:00 +01:00
HTMLImageElement.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
HTMLImageElement.h LibWeb: Make the layout tree GC-allocated 2022-10-20 15:16:23 +02:00
HTMLImageElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLInputElement.cpp Everywhere: Remove unnecessary mutable attributes from lambdas 2022-11-19 14:37:31 +00:00
HTMLInputElement.h LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLInputElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLLabelElement.cpp LibWeb: Make the layout tree GC-allocated 2022-10-20 15:16:23 +02:00
HTMLLabelElement.h LibWeb: Make the layout tree GC-allocated 2022-10-20 15:16:23 +02:00
HTMLLabelElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLLegendElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLLegendElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLLegendElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLLIElement.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
HTMLLIElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLLIElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLLinkElement.cpp LibWeb: Replace incorrect uses of split_view() for whitespace splitting 2022-10-02 21:32:49 +02:00
HTMLLinkElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLLinkElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLMapElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLMapElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLMapElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLMarqueeElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLMarqueeElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLMarqueeElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLMediaElement.cpp LibWeb: Stub HTMLMediaElement.load 2022-10-28 16:17:08 +01:00
HTMLMediaElement.h LibWeb: Stub HTMLMediaElement.load 2022-10-28 16:17:08 +01:00
HTMLMediaElement.idl LibWeb: Stub HTMLMediaElement.load 2022-10-28 16:17:08 +01:00
HTMLMenuElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLMenuElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLMenuElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLMetaElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLMetaElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLMetaElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLMeterElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLMeterElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLMeterElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLModElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLModElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLModElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLObjectElement.cpp LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLObjectElement.h LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLObjectElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLOListElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLOListElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLOListElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLOptGroupElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLOptGroupElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLOptGroupElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLOptionElement.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
HTMLOptionElement.h LibWeb: Implement :enabled and :disabled pseudo classes to spec 2022-09-30 18:05:48 +02:00
HTMLOptionElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLOptionsCollection.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
HTMLOptionsCollection.h LibWeb: Move ExceptionOr from DOM/ to WebIDL/ 2022-09-25 19:13:31 +01:00
HTMLOptionsCollection.idl LibWeb: Implement HTMLOptionsCollection.add() 2022-03-22 02:08:15 +01:00
HTMLOutputElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLOutputElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLOutputElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLParagraphElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLParagraphElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLParagraphElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLParamElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLParamElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLParamElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLPictureElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLPictureElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLPictureElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLPreElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLPreElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLPreElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLProgressElement.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
HTMLProgressElement.h LibWeb: Make the layout tree GC-allocated 2022-10-20 15:16:23 +02:00
HTMLProgressElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLQuoteElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLQuoteElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLQuoteElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLScriptElement.cpp LibWeb: Don't implement bogus assertion in prepare-the-script-element 2022-11-21 10:08:50 +01:00
HTMLScriptElement.h LibWeb: Update HTMLScriptElement prepare and execute to latest HTML spec 2022-11-21 10:08:50 +01:00
HTMLScriptElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLSelectElement.cpp LibWeb: Implement HTMLSelectElement.type 2022-11-07 14:10:41 +01:00
HTMLSelectElement.h LibWeb: Implement HTMLSelectElement.type 2022-11-07 14:10:41 +01:00
HTMLSelectElement.idl LibWeb: Implement HTMLSelectElement.type 2022-11-07 14:10:41 +01:00
HTMLSlotElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLSlotElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLSlotElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLSourceElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLSourceElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLSourceElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLSpanElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLSpanElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLSpanElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLStyleElement.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
HTMLStyleElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLStyleElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLTableCaptionElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLTableCaptionElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLTableCaptionElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLTableCellElement.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
HTMLTableCellElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLTableCellElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLTableColElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLTableColElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLTableColElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLTableElement.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
HTMLTableElement.h LibWeb: Move ExceptionOr from DOM/ to WebIDL/ 2022-09-25 19:13:31 +01:00
HTMLTableElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLTableRowElement.cpp LibWeb: Implement HTMLTableRowElement.deleteCell 2022-11-07 14:10:41 +01:00
HTMLTableRowElement.h LibWeb: Implement HTMLTableRowElement.deleteCell 2022-11-07 14:10:41 +01:00
HTMLTableRowElement.idl LibWeb: Implement HTMLTableRowElement.deleteCell 2022-11-07 14:10:41 +01:00
HTMLTableSectionElement.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
HTMLTableSectionElement.h LibWeb: Move ExceptionOr from DOM/ to WebIDL/ 2022-09-25 19:13:31 +01:00
HTMLTableSectionElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLTemplateElement.cpp LibWeb: Handle currently ignored WebIDL::ExceptionOr<T>s 2022-10-31 14:12:44 +00:00
HTMLTemplateElement.h LibWeb: Update "appropriate template contents owner document" AO 2022-10-29 15:16:57 +02:00
HTMLTemplateElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLTextAreaElement.cpp LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLTextAreaElement.h LibWeb: Implement HTMLOrSVGElement.tabIndex 2022-11-07 14:10:41 +01:00
HTMLTextAreaElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLTimeElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLTimeElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLTimeElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLTitleElement.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
HTMLTitleElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLTitleElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLTrackElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLTrackElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLTrackElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLUListElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLUListElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLUListElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLUnknownElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLUnknownElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLUnknownElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
HTMLVideoElement.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
HTMLVideoElement.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTMLVideoElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
ImageData.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
ImageData.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
ImageData.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
MessageChannel.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
MessageChannel.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
MessageChannel.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
MessageEvent.cpp LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
MessageEvent.h LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
MessageEvent.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
MessagePort.cpp Everywhere: Remove unnecessary mutable attributes from lambdas 2022-11-19 14:37:31 +00:00
MessagePort.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
MessagePort.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
NavigationParams.h LibWeb: Make Fetch::Infrastructure::{Request,Response,HeaderList} GC'd 2022-10-30 11:30:23 +00:00
Navigator.cpp LibWeb: Implement navigator.webdriver 2022-10-13 11:14:45 +02:00
Navigator.h LibWeb: Implement navigator.webdriver 2022-10-13 11:14:45 +02:00
Navigator.idl LibWeb: Implement navigator.webdriver 2022-10-13 11:14:45 +02:00
NavigatorConcurrentHardware.h LibWeb: Re-implement HTML::Navigator using IDL 2022-10-09 10:14:57 +02:00
NavigatorConcurrentHardware.idl LibWeb: Re-implement HTML::Navigator using IDL 2022-10-09 10:14:57 +02:00
NavigatorID.cpp LibWeb: Re-implement HTML::Navigator using IDL 2022-10-09 10:14:57 +02:00
NavigatorID.h Everywhere: Fix a few comment typos 2022-11-09 16:00:32 +00:00
NavigatorID.idl LibWeb: Re-implement HTML::Navigator using IDL 2022-10-09 10:14:57 +02:00
NavigatorLanguage.h LibWeb: Re-implement HTML::Navigator using IDL 2022-10-09 10:14:57 +02:00
NavigatorLanguage.idl LibWeb: Make navigator.languages an attribute instead of a function 2022-10-13 14:42:14 +02:00
NavigatorOnLine.h LibWeb: Re-implement HTML::Navigator using IDL 2022-10-09 10:14:57 +02:00
NavigatorOnLine.idl LibWeb: Re-implement HTML::Navigator using IDL 2022-10-09 10:14:57 +02:00
Origin.h Everywhere: Remove redundant inequality comparison operators 2022-11-06 10:25:08 -07:00
PageTransitionEvent.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
PageTransitionEvent.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
PageTransitionEvent.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
Path2D.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
Path2D.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
Path2D.idl LibWeb: Implement Path2D class 2022-08-14 11:30:40 +02:00
PolicyContainers.h LibWeb: Add referrer policy to PolicyContainer 2022-10-24 22:58:37 +01:00
PromiseRejectionEvent.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
PromiseRejectionEvent.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
PromiseRejectionEvent.idl LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
SandboxingFlagSet.h LibWeb: Add missing includes 2022-09-18 13:27:24 -04:00
SessionHistoryEntry.h LibWeb: Make BrowsingContext GC-allocated 2022-10-20 15:16:23 +02:00
Storage.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
Storage.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
Storage.idl LibWeb: Add Storage interface and window.localStorage 2022-02-08 21:53:20 +01:00
SubmitEvent.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
SubmitEvent.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
SubmitEvent.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
TagNames.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TagNames.h LibWeb: Implement XMLSerializer 2022-07-05 21:25:05 +02:00
TextMetrics.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
TextMetrics.h LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
TextMetrics.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
Timer.cpp LibWeb+WebContent: Add abstraction layer for event loop and timers 2022-09-07 20:30:31 +02:00
Timer.h LibWeb+WebContent: Add abstraction layer for event loop and timers 2022-09-07 20:30:31 +02:00
VisibilityState.h LibWeb+WebContent+Browser: Plumb visibility state from GUI to web pages 2022-09-20 10:32:14 +02:00
Window.cpp Everywhere: Remove unnecessary mutable attributes from lambdas 2022-11-19 14:37:31 +00:00
Window.h LibWeb: Implement window.open 2022-11-15 21:48:19 +00:00
WindowEventHandlers.cpp LibWeb: Move CallbackType from Bindings/ to WebIDL/ 2022-09-24 19:31:39 +01:00
WindowEventHandlers.h LibWeb: Move CallbackType from Bindings/ to WebIDL/ 2022-09-24 19:31:39 +01:00
WindowOrWorkerGlobalScope.idl LibWeb: Extract the WindowOrWorkerGlobalScope IDL mixin 2022-07-29 17:15:49 +01:00
WindowProxy.cpp LibWeb: Create and hook up a WindowProxy for each BrowsingContext 2022-10-20 15:16:23 +02:00
WindowProxy.h LibWeb: Create and hook up a WindowProxy for each BrowsingContext 2022-10-20 15:16:23 +02:00
Worker.cpp Everywhere: Remove unnecessary mutable attributes from lambdas 2022-11-19 14:37:31 +00:00
Worker.h LibWeb: Remove the workaround "Worker Window" from Workers 2022-10-09 10:14:57 +02:00
Worker.idl LibWeb: Replace ad-hoc EventHandler type with callback function typedef 2022-03-31 01:10:47 +02:00
WorkerDebugConsoleClient.cpp Everywhere: Replace single-char StringView op. arguments with chars 2022-07-12 23:11:35 +02:00
WorkerDebugConsoleClient.h LibWeb: Add partially functioning Worker API 2022-02-17 22:45:21 +01:00
WorkerGlobalScope.cpp LibWeb: Remove unecessary dependence on Window from HTML classes 2022-10-01 21:05:32 +01:00
WorkerGlobalScope.h LibWeb: Re-implement HTML::Navigator using IDL 2022-10-09 10:14:57 +02:00
WorkerGlobalScope.idl LibWeb: Extract the WindowOrWorkerGlobalScope IDL mixin 2022-07-29 17:15:49 +01:00
WorkerLocation.cpp LibWeb: Make WorkerLocation GC-allocated 2022-09-06 00:27:09 +02:00
WorkerLocation.h LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
WorkerLocation.idl LibWeb: Add initial implementation for WorkerGlobalScope 2022-02-09 17:21:05 +01:00
WorkerNavigator.cpp LibWeb: Re-implement HTML::Navigator using IDL 2022-10-09 10:14:57 +02:00
WorkerNavigator.h LibWeb: Re-implement HTML::Navigator using IDL 2022-10-09 10:14:57 +02:00
WorkerNavigator.idl LibWeb: Re-implement HTML::Navigator using IDL 2022-10-09 10:14:57 +02:00