ladybird/Libraries/LibWeb
Praise-Garfield 6a3b9c5ffc LibWeb: Use correct condition and field for navigation initiator origin
The guard for setting top-level navigation initiator origin called
top_level_traversable()->parent() == nullptr, which is tautologically
true: top_level_traversable() already walks to the topmost traversable,
whose parent is always null. This caused the field to be set on every
navigation, including child navigable navigations inside iframes.

The value was also read from document_state()->origin() instead of
document_state()->initiator_origin(), giving the document's own origin
rather than the origin of whoever initiated the navigation.

Use is_top_level_traversable() and initiator_origin() to match the
spec step.
2026-02-23 13:07:32 +01:00
..
Animations LibWeb: Reduce recompilation from editing Enums.json 2026-02-19 11:27:06 +00:00
ARIA LibWeb: Shave 168 bytes off of ARIAMixin 2025-11-07 16:59:26 +01:00
Bindings LibWeb: Treat numeric PropertyKeys as Strings per spec in PlatformObject 2026-02-16 18:49:15 +01:00
Clipboard
Compression Everywhere: Make ByteBuffer::bytes() lvalue-only 2025-12-10 07:43:22 -05:00
ContentSecurityPolicy LibWeb/CSP: Prefer use of Optional<StringView> for algorithm matching 2026-02-21 12:37:44 +01:00
CookieStore LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
CredentialManagement LibWeb: Do not pass GC::Ptr by reference 2026-02-22 14:55:30 -05:00
Crypto LibWeb: Use interface_name instead of serialize_type virtual 2026-02-14 20:22:40 +01:00
CSS LibWeb: Resolve list item marker using registered counter styles 2026-02-23 11:21:09 +00:00
DOM LibWeb: Resolve <counter> functions using registered counter styles 2026-02-23 11:21:09 +00:00
DOMURL LibWeb: Give IDL exposed PlatformObjects an InterfaceName 2026-02-14 20:22:40 +01:00
Editing AK: Use AK namespace for ValueComparingRefPtr 2026-02-20 22:01:44 +00:00
Encoding
EncryptedMediaExtensions LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
EntriesAPI
EventTiming Everywhere: Run clang-format 2026-02-18 08:02:45 -05:00
Fetch LibWeb/Fetch: Prevent file:// URLs from calling fetch() API 2026-02-21 23:00:57 +01:00
FileAPI LibWeb: Use interface_name instead of serialize_type virtual 2026-02-14 20:22:40 +01:00
Gamepad LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
Geolocation
Geometry LibWeb: Use interface_name instead of serialize_type virtual 2026-02-14 20:22:40 +01:00
GPC
HighResolutionTime LibWeb: Use enum instead of bool for CanUseCrossOriginIsolatedAPIs 2026-02-13 16:47:42 +00:00
HTML LibWeb: Use correct condition and field for navigation initiator origin 2026-02-23 13:07:32 +01:00
IndexedDB LibWeb/IndexedDB: Store Key's key-array value as Ref not Root 2026-02-17 07:40:03 -05:00
Infra LibTextCodec+LibWeb: Move isomorphic coders to LibTextCodec 2025-11-27 14:57:29 +01:00
Internals LibWeb: Load cookies test from HTTP server 2026-02-21 23:00:57 +01:00
IntersectionObserver LibWeb: Reduce recompilation impact of DOM/Element.h 2026-02-11 20:02:28 +01:00
Layout LibWeb: Resolve list item marker using registered counter styles 2026-02-23 11:21:09 +00:00
Loader Everywhere: Abandon Swift adoption 2026-02-17 10:48:09 -05:00
MathML LibWeb: Ensure mspace presentation hint is valid before setting it 2026-02-23 09:57:32 +01:00
MediaCapabilitiesAPI LibWeb: Extract some CORS and MIME Fetch helpers to their own files 2025-11-27 14:57:29 +01:00
MediaSourceExtensions LibWeb: Mark [Managed]MediaSource[Handle] as experimental 2026-02-17 22:17:50 +01:00
MimeSniff LibHTTP+LibWeb+RequestServer: Move Fetch's HTTP header infra to LibHTTP 2025-11-27 14:57:29 +01:00
MixedContent LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
NavigationTiming LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
NotificationsAPI LibWeb: Propagate error from Notification contructor 2026-02-22 11:37:33 +01:00
Page LibWeb: Skip UA shadow tree nodes when opening context menus 2026-02-23 07:27:31 +01:00
Painting LibWeb: Resolve list item marker using registered counter styles 2026-02-23 11:21:09 +00:00
PerformanceTimeline
PermissionsPolicy
Platform LibImageDecoderClient+LibWebView: Add animation session client API 2026-02-13 18:34:24 +01:00
ReferrerPolicy LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
RequestIdleCallback
ResizeObserver LibWeb: Avoid GC allocation in ResizeObservation::is_active() 2026-02-21 03:51:28 +01:00
ResourceTiming
SecureContexts LibWeb: Consider opaque file scheme origins as potentially trustworthy 2026-02-21 23:00:57 +01:00
Selection LibWeb: Do not scroll cursor into view on programmatic selection changes 2026-02-17 10:24:00 +01:00
Serial
ServiceWorker LibHTTP+LibWeb: Move Infrastructure::Request::CacheMode to LibHTTP 2026-01-22 07:05:06 -05:00
Speech LibWeb: Stub SpeechSynthesis.cancel() 2026-02-10 11:58:23 +01:00
SRI
StorageAPI LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
Streams Everywhere: Run clang-format 2026-02-18 08:02:45 -05:00
SVG LibWeb: Cache parsed CSS values for SVG width/height attributes 2026-02-22 16:09:15 +01:00
TrustedTypes LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
UIEvents LibWeb: Include KeyCode.h where it's used 2026-02-23 07:27:31 +01:00
URLPattern
UserTiming
ViewTransition LibWeb: Reduce recompilation from editing Enums.json 2026-02-19 11:27:06 +00:00
WebAssembly Everywhere: Remove double // on comments 2026-02-11 13:28:01 -06:00
WebAudio Everywhere: Run clang-format 2026-02-18 08:02:45 -05:00
WebDriver LibJS: Move SharedFunctionInstanceData creation out of FunctionNode 2026-02-11 23:57:41 +01:00
WebGL LibWeb: Use ExternalContentSource for canvas painting 2026-02-20 18:41:33 +01:00
WebIDL LibWeb: Use interface_name instead of serialize_type virtual 2026-02-14 20:22:40 +01:00
WebSockets LibHTTP+Everywhere: Move the cookie implementation to LibHTTP 2026-02-10 12:21:20 +01:00
WebVTT
WebXR LibWeb: Implement the very basics of XRSession 2026-02-04 15:08:37 +01:00
Worker LibWeb: Begin serializing global object as part of serialized ESO 2026-02-23 11:42:20 +01:00
XHR LibWeb: Give IDL exposed PlatformObjects an InterfaceName 2026-02-14 20:22:40 +01:00
XLink
XML LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
XPath LibWeb: Reduce recompilation impact of DOM/Document.h 2026-02-11 20:02:28 +01:00
CMakeLists.txt LibWeb: Stub CounterStyle 2026-02-23 11:21:09 +00:00
Dump.cpp LibWeb: Dump all paintables attached to a layout node in dump_tree 2026-02-15 17:47:30 +01:00
Dump.h LibWeb: Make dump_sheet() indentable 2025-12-04 16:24:04 +00:00
Forward.h LibWeb: Resolve and register counter styles from @counter-style rules 2026-02-23 11:21:09 +00:00
GraphemeEdgeTracker.cpp LibWeb: Apply letter-spacing for selection rects and grapheme bounds 2026-02-17 10:51:48 +01:00
GraphemeEdgeTracker.h LibWeb: Expose GraphemeEdgeTracker's find_line_start/find_line_end 2026-02-06 14:18:10 +00:00
idl_files.cmake LibWeb: Implement CSSFontFeatureValuesRule 2026-02-17 12:25:27 +00:00
InvalidateDisplayList.h
Namespace.cpp
Namespace.h
PixelUnits.cpp LibWeb: Inline CSSPixels methods and optimize device pixel math 2026-02-21 15:53:22 +01:00
PixelUnits.h LibWeb: Inline CSSPixels methods and optimize device pixel math 2026-02-21 15:53:22 +01:00
TraversalDecision.h
TraversalOrder.h
TreeNode.h Everywhere: Remove double // on comments 2026-02-11 13:28:01 -06:00