1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:58:12 +00:00
serenity/Tests/LibWeb/Text/expected/HTML
Shannon Booth 4135c3885c LibWeb: Only wait for document to be ready for scripts if executing one
HTML fragments are parsed with a temporary HTML document that never has
its flag set to say that it is ready to have scripts executed. For these
fragments, in the HTMLParser, these scripts are prepared, but
execute_script is never called on them.

This results in the HTMLParser waiting forever on the document to be
ready to have scripts executed.

To fix this, only wait for the document to be ready if we are definitely
going to execute a script.

This fixes a hang processing the HTML in the attached test, as seen on:
https://github.com/SerenityOS/serenity

Fixes: #22735
2024-01-14 11:27:58 +00:00
..
button-attributes.txt Tests: Add test for button type attribute 2023-11-07 11:34:21 +01:00
Form-indexed-property-access.txt LibWeb: Implement named and indexed property access for HTMLFormElement 2024-01-12 09:11:18 +01:00
Form-named-property-access.txt LibWeb: Implement named and indexed property access for HTMLFormElement 2024-01-12 09:11:18 +01:00
FormData-append-with-emoji-in-name.txt LibWeb: Don't crash on FormData.append() with emoji in name 2023-12-04 00:04:04 +01:00
get-innerHTML.txt LibWeb: Remove FIXMe's for HTML attribute serialization steps 2023-11-11 08:50:25 +01:00
HTMLElement-offsetFoo-in-table-cell.txt LibWeb: Bring HTMLElement.offset{Left,Top,Parent} closer to spec 2023-12-10 16:30:21 +01:00
HTMLInputElement-valueAsNumber.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
iframe-reload-on-src-or-srcdoc-change.txt LibWeb: Only reload iframe on src/srcdoc attribute changes, not all 2024-01-01 18:41:14 +01:00
img-src-in-innerHTML-crash.txt LibWeb: Let Document have a direct GCPtr to its containing Web::Page 2023-12-15 22:04:46 +01:00
Navigation-object-properties.txt LibWeb: Don't assert when calling navigation properties 2023-08-26 07:35:50 +01:00
navigator-beacon.txt LibWeb: Add basic Navigator send beacon support 2023-09-18 11:08:26 -06:00
set-innerHTML-details.txt LibWeb: Remove shadow roots from elements that are removed from the DOM 2023-11-30 08:49:15 +00:00
set-innerHTML-input.txt LibWeb: Remove shadow roots from elements that are removed from the DOM 2023-11-30 08:49:15 +00:00
set-innerHTML-textarea.txt LibWeb: Remove shadow roots from elements that are removed from the DOM 2023-11-30 08:49:15 +00:00
set-innerHTML-with-script.txt LibWeb: Only wait for document to be ready for scripts if executing one 2024-01-14 11:27:58 +00:00
StructuredClone-array-buffer-views.txt LibWeb: Add {de}serialization steps for TypedArrayBuffers and DataViews 2023-09-13 08:49:09 +02:00
StructuredClone-object-primitives.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
StructuredClone-primitives.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
Window-named-properties-elements.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
Window-named-properties-iframe.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
Window-postMessage.txt LibWeb: Use StructuredSerializeWithTransfer in window.postMessage() 2023-12-14 08:36:11 -07:00
Window-prototype.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00