ladybird/Tests/LibWeb/Crash/HTML
Andreas Kling 5aac297558 LibWeb: Keep child navigable history updates coherent
Normalize the target step again at the end of applying a history
step, since iframe removal can leave the originally computed target
step unused before the asynchronous application finishes. Let the UI
history snapshot use the same used-step mapping when it serializes a
current item for the UI process.

Handle late child-frame navigation commits whose original nested
history entry disappeared before finalization. Removed iframes have no
live nested history list to update, and initial about:blank still needs
its first real navigation to replace the remaining initial child entry.

Add coverage for iframe pushState before nested history readiness and
for removing and recreating an iframe after an initial same-document
history update.
2026-06-15 01:15:09 +02:00
..
adopt-image-from-removed-iframe.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
barprop-visible-in-inactive-frame.html LibWeb: Handle BarProp without a top-level context 2026-06-08 01:04:08 +02:00
blur-body-without-browsing-context.html LibWeb: Handle blurring nodes without a browsing context 2026-06-08 01:04:08 +02:00
body-invalid-background-after-adoption.html LibWeb: Ignore invalid body background hints 2026-06-08 01:04:08 +02:00
br-display-set-to-table-should-not-crash.html LibWeb: Add case when <br> has display other than 'none' 2026-03-30 12:34:46 +01:00
cached-image-load-after-iframe-removed.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
canvas-2d-in-detached-doc.html LibGfx+LibWeb: Move Skia backend context to process level singleton 2026-03-19 13:35:16 +01:00
canvas-detached-doc-toDataURL.html LibGfx+LibWeb: Move Skia backend context to process level singleton 2026-03-19 13:35:16 +01:00
canvas-text-in-detached-doc.html LibWeb: Fix canvas text crash on documents without a navigable 2026-03-30 11:27:47 +01:00
canvas-webgl-in-detached-doc.html LibGfx+LibWeb: Move Skia backend context to process level singleton 2026-03-19 13:35:16 +01:00
css-viewport-units-in-detached-doc.html LibWeb: Fix CSS style computation crashes on detached documents 2026-03-20 15:56:50 -05:00
document-element-outer-text.html LibWeb: Propagate outerText replacement exceptions 2026-06-08 01:04:08 +02:00
execCommand-insertorderedlist-invisible-selection.html LibWeb: Do not attempt to access elements of empty list 2026-01-02 10:14:07 +01:00
fallback-favicon-invalid-base.html LibWeb: Ensure favicon URL is valid before fetching it 2026-02-24 15:05:31 +01:00
getComputedStyle-of-view-transition-while-inactive.html LibWeb: Check null in getComputedStyle on inactive view transition 2025-12-17 14:12:47 +00:00
htmlcollection-cache-prune-after-gc.html LibWeb: Guard HTMLCollection weak prune against freed cells 2026-05-16 10:19:08 +02:00
iframe-document-open-during-rendering.html LibWeb: Don't crash accessing stale nested navigable paintable 2026-03-24 12:47:02 +01:00
iframe-pushstate-before-nested-history-snapshot.html LibWeb: Keep child navigable history updates coherent 2026-06-15 01:15:09 +02:00
image-decode-promise-after-iframe-removed.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
image-error-after-iframe-removed.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
image-lazy-load-iframe-removed.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
image-load-after-iframe-navigated.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
image-load-completion-after-iframe-removed.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
image-loading-iframe-reattach-remove.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
image-loading-microtask-after-iframe-removed.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
image-src-change-races-iframe-removal.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
image-src-during-parse-iframe-removed.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
image-srcset-in-removed-iframe.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
input-image-alt-dirty-layout.html LibWeb: Use unsafe_layout_node() when handling alt attribute changes 2026-03-17 09:07:10 +01:00
intersection-observer-implicit-root-target-in-navigated-iframe.html LibWeb: Clear stale layout state for inactive documents 2026-04-11 16:03:26 +02:00
invalid-integrity-attribute.css LibWeb: Fix SRI handling of badly-formatted strings 2025-05-06 13:02:58 -04:00
invalid-integrity-attribute.html LibWeb: Fix SRI handling of badly-formatted strings 2025-05-06 13:02:58 -04:00
label-click-dirty-layout.html LibWeb: Update layout before accessing paintable in label activation 2026-03-03 16:35:37 +01:00
label-inline-display.html LibWeb: Implement label activation behavior in the DOM layer 2026-01-27 18:35:38 +01:00
location-reload-after-iframe-removal.html LibWeb: Handle null navigable in Location::reload() 2026-03-20 15:56:27 -05:00
media-fetch-during-history-back.html LibWeb: Only fire document observers' fully active callbacks on change 2026-05-23 09:14:13 +02:00
media-load-during-track-setup.html LibMedia+LibWeb: Stop ref counting PlaybackManager 2026-02-23 08:49:13 +00:00
media-load-task-after-adoption.html LibWeb: Skip inactive media element tasks 2026-06-08 01:04:08 +02:00
media-multiple-network-errors.html LibWeb: Guard tasks against playback manager being cleared 2026-06-02 22:22:22 -05:00
media-srcObject-blob.html LibWeb: Remove unused ran_media_element_task variable 2026-04-08 05:10:40 +02:00
meta-content-language-without-document-element.html LibWeb: Skip meta http-equiv processing outside a document tree 2026-06-13 10:51:37 +12:00
multiple-images-iframe-removed.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
navigate-navigable-without-active-window.html LibWeb: Check if navigable has active window before navigating 2025-02-28 23:15:35 +01:00
nested-iframe-image-load-after-removal.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
no-list-owner-custom-element.html LibWeb/HTML: Handle no parent element for Element::list_owner 2025-04-18 10:48:47 +02:00
non-html-elements-in-form.html LibWeb: Use fallible FormAssociatedElement cast in form elements filter 2026-03-26 08:31:00 +01:00
ol-attribute-changed-no-element-children.html LibWeb: Ensure list has child elements before invalidating ordinals 2026-03-17 16:50:06 +01:00
picture-source-in-removed-iframe.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
range-input-min-gt-max.html LibWeb: Harden UA event handlers on range and number inputs 2026-04-24 07:58:34 +02:00
range-input-mousedown-hidden.html LibWeb: Harden UA event handlers on range and number inputs 2026-04-24 07:58:34 +02:00
range-input-plain-event.html LibWeb: Harden UA event handlers on range and number inputs 2026-04-24 07:58:34 +02:00
range-input-step-any-keydown.html LibWeb: Harden UA event handlers on range and number inputs 2026-04-24 07:58:34 +02:00
range-input-step-any-wheel.html LibWeb: Harden UA event handlers on range and number inputs 2026-04-24 07:58:34 +02:00
range-input-type-changed.html LibWeb: Harden UA event handlers on range and number inputs 2026-04-24 07:58:34 +02:00
rapid-iframe-image-loading.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
remove-iframe-in-pagehide-of-navigating-parent.html LibWeb: Handle null active document in destroy_the_child_navigable 2026-04-16 12:38:38 +02:00
removed-iframe-during-child-navigation.html LibWeb: Handle child navigables without active documents 2026-06-08 01:04:08 +02:00
reset-form-iteration.html
script-adopted-before-fetch-completion.html LibWeb: Avoid running scripts adopted during fetch 2026-05-23 11:36:45 +02:00
script-adopted-before-fetch-completion.js LibWeb: Avoid running scripts adopted during fetch 2026-05-23 11:36:45 +02:00
session-storage-delete-after-iframe-navigated.html LibWeb: Don't crash in Storage::broadcast() if document has no navigable 2026-02-12 15:33:13 +00:00
set-image-src-in-removed-iframe.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
set-media-src-repeatedly.html Tests: Add a crash test for setting HTMLMediaElement src repeatedly 2025-10-27 17:28:49 -07:00
srcdoc-image-load-after-iframe-removed.html Tests/LibWeb: Add crash tests for image loading in removed iframes 2026-02-10 21:19:35 +01:00
style-outer-text-after-adoption.html LibWeb: Skip styleless nodes for rendered text 2026-06-08 01:04:08 +02:00
validity-attribute.html LibWeb: Remove unintentional recursion in ValidityState::valid 2025-02-18 21:58:35 +01:00
video-corrupt-source-fetch-completion.html LibWeb: Increment the fetch generation when cancelling media fetch 2026-04-08 13:03:39 +02:00
video-track-switch-during-seek.html LibMedia: Deal with tracks being toggled during seeks properly 2026-04-03 20:13:15 -05:00
video-with-data-track.html LibMedia: Ignore unknown track types in FFmpegDemuxer 2026-04-08 13:03:39 +02:00
viewport-client-gc-after-adopt-node.html LibWeb: Remove ViewportClient from ImagePaintable and VideoBox 2026-02-26 09:25:25 +01:00
WindowProxy-get-after-iframe-removal.html LibWeb: Skip COOP access reporting for inactive documents 2026-06-08 01:04:08 +02:00