ladybird/Libraries/LibWeb
Jelle Raaijmakers f52632d48a LibWeb: Skip right amount of characters during encoding detection
When detecting an element's opening tag, the spec asks us to skip ahead
to the first whitespace or end chevron character before trying to read
attributes. Instead, we were always skipping 2 positions ahead and then
ignoring all whitespace characters and slashes, which was clearly wrong.

Theoretically this could have caused some weird behaviors if part of the
opening tag matched an expected attribute name, but it's very unlikely
to see that in the wild.
2025-11-21 17:43:08 +01:00
..
Animations LibWeb: Don't mangle inherited properties when updating animated style 2025-11-21 09:24:53 +01:00
ARIA LibWeb: Shave 168 bytes off of ARIAMixin 2025-11-07 16:59:26 +01:00
Bindings LibWeb: Add and remove MutationObservers at specified times 2025-11-21 16:19:57 +01:00
Clipboard LibWeb+UI/AppKit: Ignore unknown clipboard MIME types 2025-10-10 15:10:03 -04:00
Compression LibCompress: Error out when encounters and incomplete stream 2025-06-14 18:26:56 -04:00
ContentSecurityPolicy LibWeb: Allow CSP to block eval invocations based on TrustedTypes 2025-11-11 09:58:34 +01:00
Cookie Everywhere: Change west consts caught by clang-format-21 to east consts 2025-08-29 18:18:55 +01:00
CookieStore LibWeb: Add missing cookie-age-limit steps to CookieStore::set() 2025-08-26 06:28:10 -04:00
CredentialManagement Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
Crypto Everywhere: Validate // NOTE: ... and // NB: ... comments 2025-11-18 09:07:37 -05:00
CSS LibWeb: Implement CSS perspective-origin 2025-11-21 11:14:28 +00:00
DOM LibWeb/DOM: Stop adding duplicates to the agent's signal_slots 2025-11-21 16:19:57 +01:00
DOMURL Everywhere: Change west consts caught by clang-format-21 to east consts 2025-08-29 18:18:55 +01:00
Editing LibWeb: Avoid invoking Trusted Types where avoidable 2025-11-06 11:43:06 -05:00
Encoding LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
EncryptedMediaExtensions LibWeb/EME: Implement navigator.requestMediaKeySystemAccess 2025-08-27 09:58:00 +02:00
EntriesAPI LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
EventTiming Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
Fetch LibWeb: Delete unused BufferPolicy from fetch Request 2025-11-20 06:29:13 -05:00
FileAPI LibWeb: Convert Ladybird notes in spec steps to // NB: ... 2025-11-18 09:07:37 -05:00
Gamepad LibWeb: Make eventInitDict GamepadEvent constructor parameter optional 2025-09-23 16:04:56 +01:00
Geolocation LibWeb: Implement emulated Geolocation position retrieval 2025-06-24 11:33:41 +02:00
Geometry LibWeb: Add method for whether tree-counting function is allowed 2025-10-20 16:12:08 +01:00
GPC LibWeb+LibWebView+WebContent: Replace DNT with GPC 2025-09-16 10:38:20 +02:00
HighResolutionTime Everywhere: Clean up AD-HOC and FIXME comments without colons 2025-11-13 15:56:04 +01:00
HTML LibWeb: Skip right amount of characters during encoding detection 2025-11-21 17:43:08 +01:00
IndexedDB LibWeb/IDB: Handle cursor iteration more correctly 2025-11-13 08:52:16 -05:00
Infra LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
Internals LibWeb: Add some tests that exercise the HTTP disk cache 2025-11-20 09:33:49 +01:00
IntersectionObserver LibJS+LibWeb: Use GC::Weak instead of AK::WeakPtr for GC-allocated types 2025-10-17 17:22:16 +02:00
Layout LibWeb: Implement CSS perspective-origin 2025-11-21 11:14:28 +00:00
Loader LibWeb: Delete unused ResourceLoader::load() 2025-11-20 06:29:13 -05:00
MathML LibWeb/MathML: Stop shadowing value local variable 2025-11-14 09:55:02 +00:00
MediaCapabilitiesAPI LibWeb/EME: Implement MediaKeySystemAccess 2025-08-27 09:58:00 +02:00
MediaSourceExtensions LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
MimeSniff LibWeb/MimeSniff: Match spec change by using correct font essence 2025-09-15 07:31:02 +01:00
MixedContent LibWeb: Avoid including Navigable.h in headers 2025-10-20 10:16:55 +01:00
NavigationTiming LibWeb: Only expose performance.{timing,navigation} on Window 2025-07-25 11:46:58 +02:00
NotificationsAPI LibWeb: Add a simplified Notification constructor 2025-09-24 11:53:14 +01:00
Page LibWeb: Prevent default on pointerdown/mousedown should skip focus steps 2025-11-21 08:30:32 +01:00
Painting LibWeb: Implement CSS perspective-origin 2025-11-21 11:14:28 +00:00
PerformanceTimeline LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
PermissionsPolicy LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
Platform LibWeb: Support multiple emoji/symbol fonts 2025-11-03 09:56:25 +00:00
ReferrerPolicy LibWeb: Avoid including Navigable.h in headers 2025-10-20 10:16:55 +01:00
RequestIdleCallback LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
ResizeObserver LibJS+LibWeb: Use GC::Weak instead of AK::WeakPtr for GC-allocated types 2025-10-17 17:22:16 +02:00
ResourceTiming LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
SecureContexts LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
Selection LibWeb: Implement up/down arrow navigation for EditingHostManager 2025-09-18 07:39:10 -04:00
Serial LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
ServiceWorker LibWeb: Convert Ladybird notes in spec steps to // NB: ... 2025-11-18 09:07:37 -05:00
SRI LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
StorageAPI Everywhere: Implement persistence of localStorage using sqlite 2025-06-12 17:04:35 +02:00
Streams LibWeb: Fix typo "folowing" → "following" 2025-09-24 11:54:42 +01:00
SVG LibWeb: Improve support for SVG text positioning attributes 2025-11-20 23:15:24 +01:00
TrustedTypes LibWeb: Allow CSP to block eval invocations based on TrustedTypes 2025-11-11 09:58:34 +01:00
UIEvents LibWeb: Avoid including Navigable.h in headers 2025-10-20 10:16:55 +01:00
URLPattern LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
UserTiming LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
ViewTransition LibWeb: Prevent view transition crashes due to lack of execution context 2025-11-19 10:58:29 -05:00
WebAssembly LibWasm+LibWeb: Stub wasm-gc's heap reference types 2025-10-15 01:26:29 +02:00
WebAudio LibWeb/WebAudio: Fire complete event with OfflineAudioCompletionEvent 2025-11-19 17:26:09 +01:00
WebDriver LibJS: Have JS::Lexer take a JS::SourceCode as input 2025-11-09 12:14:03 +01:00
WebGL LibWeb: Small WebGL spec fix for vertexAttribPointer 2025-11-06 19:02:36 +01:00
WebIDL LibJS: Add inline caching for adding new own properties to objects 2025-09-17 12:44:44 +02:00
WebSockets LibWeb: Remove now-unused Resource and ResourceClient 2025-11-05 18:27:36 +01:00
WebVTT LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
Worker LibWeb: Implement cookie fetching for Workers 2025-09-09 15:28:38 +02:00
XHR LibWeb: Remove exception throwing from Fetch 2025-11-07 04:08:30 +01:00
XLink LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
XML Everywhere: Clean up AD-HOC and FIXME comments without colons 2025-11-13 15:56:04 +01:00
XPath LibWeb: Implement XPath functionality using libxml2 2025-10-03 13:16:11 +02:00
CMakeLists.txt LibWeb: Implement SVGAnimatedLengthList 2025-11-20 23:15:24 +01:00
Dump.cpp LibWeb: Store correct text offsets in PaintableFragment 2025-09-12 15:34:09 -04:00
Dump.h LibWeb: Always show box model info when dumping layout tree 2025-08-27 11:53:45 +01:00
Forward.h LibWeb: Implement SVGAnimatedLengthList 2025-11-20 23:15:24 +01:00
GraphemeEdgeTracker.cpp LibWeb: Add a FIXME comment about handling wrapping in arrow navigation 2025-09-18 07:39:10 -04:00
GraphemeEdgeTracker.h LibWeb: Move grapheme edge detection across lines to helper functions 2025-09-18 07:39:10 -04:00
idl_files.cmake LibWeb: Implement SVGAnimatedLengthList 2025-11-20 23:15:24 +01:00
InvalidateDisplayList.h
Namespace.cpp LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
Namespace.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
PixelUnits.cpp
PixelUnits.h LibGfx+LibWeb: Delete unused Line class and Rect methods 2025-11-04 23:16:02 +01:00
TraversalDecision.h
TraversalOrder.h
TreeNode.h LibWeb: Make TreeNode::child_at_index() accept a size_t 2025-09-16 06:57:30 -04:00