ladybird/Libraries/LibWeb
Timothy Flynn fe891727dc LibWeb: Use correct URL parsing methods throughout LibWeb
There are essentially 3 URL parsing AOs defined by the spec:
1. Parse a URL
2. Encoding parse a URL
3. Encoding parse a URL and serialize the result

Further, these are replicated between the Document and the ESO.

This patch defines these methods in accordance with the spec and updates
existing users to invoke the correct method. In places where the correct
method is ambiguous, we use the encoding parser to preserve existing ad-
hoc behavior.
2024-12-10 10:37:01 -08:00
..
Animations LibWeb: Add mode flag to CSSStyleValue::to_string() 2024-12-07 08:31:03 +00:00
ARIA LibWeb/ARIA: Add missing menuitemradio widget role 2024-12-10 07:41:10 -08:00
Bindings LibWeb: Implement multiple import map support 2024-12-10 12:01:45 +00:00
Clipboard LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Compression LibWeb: Remove dom_ from dom_exception_to_throw_completion 2024-12-09 20:02:51 -07:00
Cookie Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Crypto LibWeb: Respect subarrays in Crypto#getRandomBytes 2024-12-10 06:44:00 -08:00
CSS LibWeb: Use correct URL parsing methods throughout LibWeb 2024-12-10 10:37:01 -08:00
DOM LibWeb: Use correct URL parsing methods throughout LibWeb 2024-12-10 10:37:01 -08:00
DOMParsing LibWeb: Make Node::is_text() return true for CDATASection nodes 2024-11-19 19:24:37 +00:00
DOMURL LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
Editing LibWeb: Implement document.execCommand('insertLinebreak') 2024-12-10 19:34:38 +01:00
Encoding LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
EntriesAPI LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
EventTiming LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Fetch LibWeb: Remove dom_ from dom_exception_to_throw_completion 2024-12-09 20:02:51 -07:00
FileAPI LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
Geometry LibWeb: Stop passing Realm unnecessarily to parse CSS properties 2024-12-05 19:59:57 +01:00
HighResolutionTime LibWeb: Use relevant principal settings for HighResolutionTime 2024-11-30 11:55:11 +01:00
HTML LibWeb: Use correct URL parsing methods throughout LibWeb 2024-12-10 10:37:01 -08:00
IndexedDB LibWeb: Mark local variables captured in GC functions as ignored 2024-12-10 07:13:00 +01:00
Infra LibWeb: Redefine WebIDL types in terms of Infra spec 2024-12-05 17:34:13 +01:00
Internals LibWeb: Add an Internals.headless attribute 2024-12-10 10:31:47 -08:00
IntersectionObserver LibWeb: Implement more IntersectionObserver attributes 2024-11-23 09:52:32 +01:00
Layout LibWeb/Layout: Add FIXMEs where we're using the wrong font 2024-12-06 02:57:34 +01:00
Loader Everywhere: Include HashMap only where it's actually used 2024-12-09 12:31:16 +01:00
MathML LibWeb: Align mfrac Padding with Updated MathML Core Spec 2024-12-09 20:06:48 +00:00
MediaCapabilitiesAPI LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MediaSourceExtensions LibWeb: Partially implement MediaSource.isTypeSupported() 2024-11-26 23:51:02 +01:00
MimeSniff Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MixedContent LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
NavigationTiming LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Page LibWeb: Use correct URL parsing methods throughout LibWeb 2024-12-10 10:37:01 -08:00
Painting LibWeb: Refactor "editable" and "editing host" concepts 2024-12-10 14:54:19 +01:00
PerformanceTimeline LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
PermissionsPolicy Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Platform LibGfx+LibWeb: Do some color management on images with an ICC profile 2024-12-05 17:16:41 +01:00
ReferrerPolicy LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
RequestIdleCallback LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ResizeObserver LibWeb: Make CallbackType take a realm instead of settings object 2024-11-20 18:01:21 -07:00
SecureContexts LibURL: Migrate Origin scheme from ByteString to String 2024-11-30 12:07:39 +01:00
Selection LibWeb: Make Selection APIs throw on DocumentType node inputs 2024-11-16 14:39:55 +01:00
ServiceWorker LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
SRI Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
StorageAPI LibWeb: Const qualify many functions in EnvironmentSettingsObject 2024-11-23 16:43:55 +01:00
Streams LibWeb: Remove dom_ from dom_exception_to_throw_completion 2024-12-09 20:02:51 -07:00
SVG LibWeb: Use correct URL parsing methods throughout LibWeb 2024-12-10 10:37:01 -08:00
UIEvents LibWeb: Add definitions for PointerEvent event handlers 2024-11-22 14:33:58 +01:00
UserTiming LibWeb: Default initialize StructuredDeserialize memory argument 2024-11-23 16:43:55 +01:00
WebAssembly LibWeb: Register Wasm memory grow hook in constructor of Memory objects 2024-12-10 15:54:20 +01:00
WebAudio LibWeb: Add ChannelMergerNode interface 2024-11-25 17:16:06 +01:00
WebDriver LibWeb: Refactor "editable" and "editing host" concepts 2024-12-10 14:54:19 +01:00
WebGL LibWeb/WebGL: Implement vertex array calls for WebGL2 2024-12-07 00:05:36 +01:00
WebIDL LibWeb: Return a better error message for invalid byte strings 2024-12-10 10:30:14 -08:00
WebSockets LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
WebVTT LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Worker Everywhere: Include HashMap only where it's actually used 2024-12-09 12:31:16 +01:00
XHR LibWeb: Mark local variables captured in GC functions as ignored 2024-12-10 07:13:00 +01:00
XLink Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
XML LibWeb: Rename abbreviated variable name 2024-12-09 09:13:24 +00:00
CMakeLists.txt LibWeb: Add stubbed-out WebGL2RenderingContext 2024-12-06 15:35:36 +01:00
Dump.cpp LibWeb: Add mode flag to CSSStyleValue::to_string() 2024-12-07 08:31:03 +00:00
Dump.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Forward.h LibWeb/WebGL: Implement vertex array calls for WebGL2 2024-12-07 00:05:36 +01:00
idl_files.cmake LibWeb: Add stubbed-out WebGL2RenderingContext 2024-12-06 15:35:36 +01:00
InvalidateDisplayList.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Namespace.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Namespace.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PixelUnits.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PixelUnits.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TraversalDecision.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TraversalOrder.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TreeNode.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00