ladybird/Tests/LibWeb/Text/input/wpt-import/html/semantics/embedded-content
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
..
media-elements LibWeb: Resolve FIXME in media select resource algorithm 2025-06-16 23:28:10 +12:00
the-canvas-element Tests: Synchronize imported tests with the WPT repository 2025-06-22 23:51:34 +02:00
the-iframe-element Tests: Import a WPT test that uses HTMLIFrameElement.sandbox.supports() 2024-12-03 15:30:18 +01:00
the-img-element LibWeb/HTML: Only update the image data on fully loaded document 2025-06-24 09:56:14 +02:00
the-object-element LibWeb: Import setCustomValidity related tests 2025-02-18 10:17:06 -07:00
the-video-element LibWeb: Resolve FIXME in media select resource algorithm 2025-06-16 23:28:10 +12:00