ladybird/Userland/Services
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
..
AudioServer AudioServer: Clean up ClientAudioStream APIs 2023-08-12 12:22:16 -06:00
ChessEngine AK: Make "foo"_string infallible 2023-08-07 16:03:27 +02:00
Clipboard Clipboard: Avoid unnecessary IPC::Dictionary wrapper 2023-05-21 07:53:45 +02:00
ConfigServer LibCore: Move Stream-based sockets into the Core namespace 2023-02-13 00:50:07 +00:00
CrashDaemon AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
DeviceMapper Userland: Don't use String::from_utf8() for literal strings 2023-09-15 08:44:52 +02:00
DHCPClient Userland: Rename Core::Object to Core::EventReceiver 2023-08-06 20:39:51 +02:00
EchoServer Everywhere: Remove unintentional partial stream reads and writes 2023-03-13 15:16:20 +00:00
FileOperation FileOperation: Replace LibC rename() call with LibCore equivalent 2023-07-26 08:44:49 +02:00
FileSystemAccessServer LibIPC: Do not leak the Core::File fd by default 2023-07-12 18:22:18 -04:00
ImageDecoder LibGfx: Move all image loaders and writers to a subdirectory 2023-03-21 22:39:25 +01:00
KeyboardPreferenceLoader KeyboardPreferenceLoader: Remove usage of DeprecatedFile 2023-04-27 07:29:49 +02:00
LaunchServer AK: Port URL::m_fragment from DeprecatedString to String 2023-08-13 15:03:53 -06:00
LoginServer Meta: Rename compile_gml to stringify_gml 2023-08-11 21:33:48 +02:00
LookupServer LookupServer: Fix building on GNU Hurd 2023-09-06 11:41:16 -06:00
NetworkServer LibCore: Move Stream-based file into the Core namespace 2023-02-13 00:50:07 +00:00
NotificationServer Userland: Migrate to String in notification system 2023-09-01 12:06:08 +02:00
RequestServer AK: Port URL scheme from DeprecatedString to String 2023-08-13 15:03:53 -06:00
SpiceAgent SpiceAgent: Pledge cpath 2023-07-08 22:55:06 +01:00
SQLServer SQLServer: Remove Core::EventReceiver parent from DatabaseConnection 2023-08-07 14:38:38 -04:00
SystemServer Kernel+Services: Enable barebones hot-plug handling capabilities 2023-09-07 11:50:50 -06:00
Taskbar LibGUI: Add deprecated suffix to {set_,}tooltip in Widget 2023-08-18 10:43:37 +01:00
TelnetServer Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
WebContent LibWeb+WebContent+headless-browser: Support async text tests 2023-09-15 08:52:25 +02:00
WebDriver LibWeb: Stub out Release Actions 2023-08-21 13:22:04 -06:00
WebServer AK: Make "foo"_string infallible 2023-08-07 16:03:27 +02:00
WebSocket WebSocket: Avoid unnecessary IPC::Dictionary wrapper 2023-05-21 07:53:45 +02:00
WindowServer LibGfx: Convert Font APIs to return String instead of DeprecatedString 2023-09-06 11:29:03 -04:00
CMakeLists.txt Kernel+Services: Enable barebones hot-plug handling capabilities 2023-09-07 11:50:50 -06:00