ladybird/Libraries/LibWeb
Shannon Booth 0bdcaf02d3 LibWeb/HTML: Only update the image data on fully loaded document
Documents created by DOMParser and fragment documents do not
have an origin set on the document by the spec. These documents
also happen to never become fully active.

By properly implementing the steps for the <img> element to only
update the image data for documents which are fully active, this
fixes a crash for img elements in these types of documents.

Unfortunately, this is not a full fix for the microtask queue case.
This is because it seems possible for node document for an <img>
element to be changed during the microtask queue for that document.
It is not clear to me how this can be fixed in a nice way.
2025-06-24 09:56:14 +02:00
..
Animations LibWeb: Resolve conflicts in compute_keyframe_values correctly 2025-06-23 15:19:07 +01:00
ARIA
Bindings LibWeb: Move AgentType enum to its own header 2025-05-18 17:50:05 -06:00
Clipboard
Compression LibCompress: Error out when encounters and incomplete stream 2025-06-14 18:26:56 -04:00
ContentSecurityPolicy LibURL+LibWeb: Make URL::Origin default constructor private 2025-06-17 20:54:03 +02:00
Cookie Everywhere: Replace DateTime::to_string() with UnixDateTime::to_string() 2025-06-19 18:42:45 -06:00
CredentialManagement
Crypto LibCrypto: Replace {Unsigned,Signed}BigInteger impl with LibTomMath 2025-05-23 11:57:21 +02:00
CSS LibWeb: Don't skip last keyframe 2025-06-23 21:01:26 +02:00
DOM LibWeb/DOM: Support changing document to observe in DocumentObserver 2025-06-24 09:56:14 +02:00
DOMURL
Editing LibWeb/DOM: Rename ElementReference to AbstractElement 2025-06-19 12:35:31 +01:00
Encoding
EncryptedMediaExtensions
EntriesAPI
EventTiming
Fetch LibWeb: Make Environment's top level origin nullable 2025-05-27 14:48:43 +12:00
FileAPI LibWeb/FileAPI: Handle an aborted stream in Blob::get_stream() close 2025-05-31 09:12:57 -04:00
Geolocation LibWeb: Stub Geolocation API 2025-06-21 10:00:29 +02:00
Geometry
HighResolutionTime LibWeb: Add the EpochTimestamp IDL typedef 2025-06-21 10:00:29 +02:00
HTML LibWeb/HTML: Only update the image data on fully loaded document 2025-06-24 09:56:14 +02:00
IndexedDB LibWeb: Implement cleanup_indexed_database_transactions 2025-06-18 19:05:41 +12:00
Infra LibWeb: Prefer using equals_ignoring_ascii_case 2025-05-21 13:45:02 +01:00
Internals LibWeb: Remove Unicode Cyrillic e char (04+35) in variable name 2025-06-03 21:22:27 +02:00
IntersectionObserver
Layout LibWeb/CSS: Implement the font-kerning property 2025-06-23 13:26:48 +01:00
Loader Everywhere: Replace DateTime::to_string() with UnixDateTime::to_string() 2025-06-19 18:42:45 -06:00
MathML
MediaCapabilitiesAPI
MediaSourceExtensions
MimeSniff LibWeb/MimeSniff: Add MP3 without ID3 sniffing 2025-06-09 07:50:26 -06:00
MixedContent
NavigationTiming
Page LibWeb: Run focusing steps on navigation with the tab key 2025-06-13 17:39:11 +02:00
Painting LibWeb/DOM: Move pseudo-element scroll offsets into PseudoElement 2025-06-19 12:35:31 +01:00
PerformanceTimeline
PermissionsPolicy
Platform
ReferrerPolicy
RequestIdleCallback
ResizeObserver
ResourceTiming
SecureContexts
Selection LibWeb: Simplify Selection::cursor_position() 2025-06-13 15:08:26 +02:00
ServiceWorker LibWeb: Stub CacheStorage::has() 2025-06-08 18:26:13 +02:00
SRI
StorageAPI Everywhere: Implement persistence of localStorage using sqlite 2025-06-12 17:04:35 +02:00
Streams LibWeb: Don't drop messages received before MessagePort is enabled 2025-06-08 18:26:13 +02:00
SVG LibURL+LibWeb: Make URL::Origin default constructor private 2025-06-17 20:54:03 +02:00
TrustedTypes
UIEvents LibWeb: Start integrating the editing API with user keyboard input 2025-05-17 00:29:19 +02:00
URLPattern
UserTiming
WebAssembly LibCrypto: Replace {Unsigned,Signed}BigInteger impl with LibTomMath 2025-05-23 11:57:21 +02:00
WebAudio LibWeb/WebAudio: Implement AudioNode::connect() 2025-06-17 16:54:19 -06:00
WebDriver Everywhere: Replace DateTime::to_string() with UnixDateTime::to_string() 2025-06-19 18:42:45 -06:00
WebGL LibWeb/WebGL: Use eglWaitUntilWorkScheduledANGLE instead of glFlush 2025-06-09 15:40:41 -06:00
WebIDL LibWeb/WebIDL: Bring IDL::construct() up to date with the spec 2025-06-10 11:57:00 +02:00
WebSockets
WebVTT
Worker LibWeb+WebWorker: Create SharedWorkerGlobalScope for Shared Workers 2025-05-18 17:50:05 -06:00
XHR LibWeb: Prefer using equals_ignoring_ascii_case 2025-05-21 13:45:02 +01:00
XLink
XML LibWeb: Update validate_and_extract and its users to the latest spec 2025-06-19 11:00:53 +01:00
CMakeLists.txt LibWeb: Stub Geolocation API 2025-06-21 10:00:29 +02:00
Dump.cpp LibWeb: Rename PaintableFragment::m_start and ::m_length 2025-06-13 15:08:26 +02:00
Dump.h LibWeb/CSS: Add basic implementation of CSSMarginRule 2025-05-16 11:01:39 +01:00
Forward.h LibWeb: Align CSS Grid properties parsing with the specification 2025-06-21 22:07:08 +02:00
idl_files.cmake LibWeb: Stub Geolocation API 2025-06-21 10:00:29 +02:00
InvalidateDisplayList.h
Namespace.cpp
Namespace.h
PixelUnits.cpp
PixelUnits.h
TraversalDecision.h
TraversalOrder.h
TreeNode.h LibWeb: Move non-DOM-related methods from DOM::Node to TreeNode 2025-06-07 16:51:00 +02:00