1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:17:44 +00:00
serenity/Tests/LibWeb/Text/expected
Aliaksandr Kalenik 6f8be44c0e LibWeb+WebContent+headless-browser: Support async text tests
Previously, we used `on_load_finish` to determine when the text test
was completed. This method did not allow testing of async functions
because there was no way to indicate that the runner should wait for
the async call to end.

This change introduces a function in the `internals` object that is
intended to be called when the text test execution is completed. The
text test runner will now ignore `on_load_finish` which means a test
will timeout if this new function is never called.

`test(f)` function in `include.js` has been modified to automatically
terminate a test once `load` event is fired on `window`.
new `asyncTest(f)` function has been introduces. `f` receives function
that will terminate a test as a first argument.

Every test is expected to call either `test()` or `asyncTest()` to
complete. If not, it will remain hanging until a timeout occurs.
2023-09-15 08:52:25 +02:00
..
canvas LibWeb: Null check fonts after parsing them in CRC2D.font assignment 2023-08-17 10:07:38 +02:00
css LibWeb+WebContent+headless-browser: Support async text tests 2023-09-15 08:52:25 +02:00
geometry LibWeb: Add DOMMatrix flipX and flipY 2023-09-05 20:30:36 +02:00
hit_testing LibWeb: Remove implicit conversion from float and double to CSSPixels 2023-08-26 23:53:45 +02:00
HTML LibWeb: Add {de}serialization steps for TypedArrayBuffers and DataViews 2023-09-13 08:49:09 +02:00
PerformanceObserver LibWeb: Implement PerformanceObserver 2023-08-27 23:27:44 +02:00
Streams Tests/LibWeb: Verify setting {readable,writable}Type throws RangeError 2023-07-15 11:59:39 +02:00
TextDecoder LibWeb: Make 'optional BufferSource' IDL arguments actually optional 2023-05-30 12:50:13 +02:00
URL AK: Percent encode URL fragments when parsed 2023-08-31 11:02:18 +02: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
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
html-form-controls-collection.txt LibWeb: Return a HTMLFormControlsCollection from HTMLFormElement element 2023-08-20 11:04:03 +02: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-element-file-value.txt LibWeb: Fix empty value attribute for 'file' input returning fakepath 2023-08-26 13:51:18 +02: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
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
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
title.txt LibWeb: Implement the document title attribute closer to the spec 2023-06-08 07:21:08 +02: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