1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-19 05:31:00 +00:00
serenity/Tests/LibWeb/Text/expected
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
..
canvas Tests/LibWeb: Test canvas fillStyle parsing of rgb strings 2023-11-24 08:42:18 +01:00
css LibWeb/CSS: Resolve NumericCalculationNode to percentage when requested 2024-01-11 08:01:47 +01:00
DOM LibWeb: Implement Element.getAttributeNS 2024-01-13 08:33:10 +01:00
Encoding LibWeb: Add TextEncoder encodeInto 2023-10-29 21:44:53 +01:00
FileAPI LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
geometry LibWeb: Add DOMMatrix string constructor and set matrix value 2024-01-07 13:15:53 +01:00
hit_testing LibWeb: Allow inline nodes to establish a stacking context 2024-01-05 19:36:55 +01:00
HTML LibWeb: Only wait for document to be ready for scripts if executing one 2024-01-14 11:27:58 +00:00
IntersectionObserver LibWeb: Process all pending lazy loading intersection observations 2023-12-24 13:23:40 +01:00
Messaging LibWeb: Post all MessagePort messages over their LocalSockets 2023-12-20 12:25:40 -07:00
MutationObserver LibWeb: Fix null pointer dereference in DOM::Node::remove() 2023-11-20 20:50:53 +01:00
navigation LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
PerformanceObserver LibWeb: Implement PerformanceObserver 2023-08-27 23:27:44 +02:00
Streams LibWeb: Properly convert UnderlyingSource's autoAllocateChunkSize to u64 2024-01-02 10:01:26 +01:00
SVG LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
URL AK: Properly implement steps for shortening a URLs path 2023-10-26 11:11:41 +02:00
Wasm LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
Worker LibWeb+WebWorker: Convert Workers to use MessagePorts for postMessage 2023-12-25 12:09:11 +01:00
XHR LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
XML LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
anchor-element-with-javascript-url-href.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
append-child-must-update-layout-tree.txt LibWeb: Invalidate the layout tree on DOM node insertion 2023-06-06 09:06:27 +02:00
Attr-cloneNode.txt LibWeb/Tests: Port two DOM cloneNode() test cases to text tests 2023-08-21 13:51:12 +02:00
background-position-xy.txt LibWeb: Create EdgeStyleValue for BackgroundPositionXY with no offset 2023-07-17 14:53:52 +01:00
basic.txt Ladybird+Tests/LibWeb: Add very basic text-only test harness 2023-05-27 14:03:49 +02:00
clipboard.txt LibWeb: Begin implementing the Clipboard API 2023-11-11 08:54:37 +01:00
cookie.txt LibWeb: Convert the cookie test page to a text test 2024-01-10 23:26:40 +01:00
failed-img-should-not-delay-load-event-forever.txt LibWeb: Fire the fail callback on SharedImageRequest when they fail 2023-08-28 10:19:46 +02:00
fieldset-elements.txt LibWeb: Add fieldset elements property 2023-12-10 08:07:41 -05:00
get-bounding-client-rect-display-none.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
get-bounding-client-rect.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
html-form-controls-collection.txt LibWeb: Support RadioNodeList named items in HTMLFormControlsCollection 2023-12-23 20:53:11 +01:00
html-parser-text-in-table-hoisting.txt LibWeb: Make HTML parser flush all pending tokens in "in table text" 2023-07-03 11:50:58 +02:00
idl-handling-of-null-attribute.txt LibWeb: Support [Reflect] on IDL String attributes that may return null 2023-09-05 20:36:09 -04:00
input-blur.txt LibWeb: Focus the document element when unfocusing an element 2023-12-04 01:33:57 +01:00
input-click-to-unfocus.txt LibWeb: Run the unfocusing steps when a click does not focus anything 2023-12-04 01:33:57 +01:00
input-commit-on-unfocus.txt LibWeb: Fire a change event on input elements in the focus update steps 2023-12-04 01:33:57 +01:00
input-commit.txt LibWeb: Support committing changes to <input> elements 2023-12-02 10:34:22 +01:00
input-date.txt LibWeb: Add input element valueAsDate property 2024-01-06 09:59:30 -07:00
input-element-file-value.txt LibWeb: Fix empty value attribute for 'file' input returning fakepath 2023-08-26 13:51:18 +02:00
input-number.txt LibWeb: Add input stepUp and stepDown functions 2023-12-07 16:46:28 -05:00
internals.txt LibWeb: Add a simple internals objects only available during testing 2023-08-06 15:26:34 +02:00
link-element-media-attribute.txt LibWeb: Forward media attribute from link element to loaded style sheet 2023-06-11 06:05:03 +02:00
link-element-onload-attribute.txt LibWeb: Allow event handler attributes on HTMLLinkElement 2023-06-06 09:06:27 +02:00
link-element-rel-preload-load-event.txt LibWeb: Fire "load" and "error" events for rel=preload link loads 2023-06-06 09:06:27 +02:00
link-element-search.txt LibWeb: Fix typo in query of link element search params 2023-08-14 16:26:34 +02:00
module-script-in-head.txt LibWeb/Tests: Add test for a <script type=module> inside <head> 2023-10-31 18:09:14 +01:00
output-value.txt LibWeb: Add output element value 2023-12-09 21:50:17 +01:00
ProcessingInstruction-cloneNode.txt LibWeb/Tests: Port two DOM cloneNode() test cases to text tests 2023-08-21 13:51:12 +02:00
radio-node-list.txt LibWeb: Implement value attribute of RadioNodeList 2023-08-26 13:51:18 +02:00
sameobject-behavior-for-htmlcollection-properties.txt LibWeb/Tests: Port HTMLCollection [[SameObject]] test to a text test 2023-08-21 13:51:12 +02:00
scripted-dom-insertion-during-html-parse.txt LibWeb+WebContent+headless-browser: Support async text tests 2023-09-15 08:52:25 +02:00
scroll-into-view-end.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
scroll-into-view-start.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
scroll-left-and-top-on-colgroup.txt LibWeb: Return a scroll offset of 0 for colgroup elements 2023-11-23 13:06:48 +01:00
scroll-to-fragment.txt LibWeb: Bring CSS line-height closer to other engines 2024-01-12 15:04:06 +01:00
select.txt Ladybird+LibWeb: Add basic select element support 2023-12-09 22:06:20 +01:00
set-timeout-with-no-active-script.txt LibWeb: Fix setTimeout() when there's no active script 2023-09-15 08:53:21 +02:00
setInterval.txt Tests/LibWeb: Add basic tests for setTimeout and setInterval 2023-09-26 19:42:59 +02:00
setTimeout.txt Tests/LibWeb: Add basic tests for setTimeout and setInterval 2023-09-26 19:42:59 +02:00
setting-display-none-should-nuke-subtree.txt LibWeb: Detach stale layout nodes from DOM during layout tree build 2023-08-01 09:19:41 +02:00
textarea-value.txt LibWeb: Add textarea value properties 2024-01-07 10:22:32 +01:00
title.txt LibWeb/HTML: Implement text attribute in HTMLTitleElement 2023-12-02 10:35:43 +01:00
url-search-params-iterator-iterator.txt LibWeb: Don't override prototype on generated iterator prototypes 2023-06-08 10:05:56 +02:00
window-proxy-numeric-own-property.txt LibWeb: Implement basic support for window[number] 2023-07-25 15:45:44 +02:00
window-proxy-property-inline-cache.txt LibWeb: Don't cache property accesses on WindowProxy 2023-07-11 00:14:50 +02:00
window-scrollTo.txt LibWeb: Limit scroll position by overflow area in Window::scroll() 2023-12-24 23:22:35 +01:00