1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00
serenity/Userland/Libraries/LibWebView
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
..
AccessibilityTreeModel.cpp LibWeb: Prevent crash when inspecting SVG documents 2023-06-27 09:20:06 +01:00
AccessibilityTreeModel.h LibWebView: Replace uses of JsonObject::get_deprecated()/get_ptr() 2023-01-26 09:57:14 -05:00
AriaPropertiesStateModel.cpp Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
AriaPropertiesStateModel.h Browser+LibWebView: Load and Display ARIA Properites and State 2023-07-06 11:21:36 +01:00
CMakeLists.txt Browser+Ladybird: Let the list of user agent strings be shared 2023-09-13 19:33:07 -04:00
ConsoleClient.cpp Ladybird+LibWebView: Move console history tracking to ConsoleClient 2023-08-31 12:20:10 +02:00
ConsoleClient.h Ladybird+LibWebView: Move console history tracking to ConsoleClient 2023-08-31 12:20:10 +02:00
CookieJar.cpp Ladybird+LibWebView: Move CookieJar, Database, and History to LibWebView 2023-08-31 19:19:45 +02:00
CookieJar.h Ladybird+LibWebView: Move CookieJar, Database, and History to LibWebView 2023-08-31 19:19:45 +02:00
Database.cpp Ladybird+LibWebView: Move creation of the SQL client to LibWebView 2023-08-31 19:19:45 +02:00
Database.h Ladybird+LibWebView: Move creation of the SQL client to LibWebView 2023-08-31 19:19:45 +02:00
DOMTreeModel.cpp LibWeb+LibWebView: Show shadow roots in the DOM inspector 2023-03-18 20:14:52 +01:00
DOMTreeModel.h LibWebView: Replace uses of JsonObject::get_deprecated()/get_ptr() 2023-01-26 09:57:14 -05:00
Forward.h Ladybird+LibWebView: Move CookieJar, Database, and History to LibWebView 2023-08-31 19:19:45 +02:00
History.cpp Ladybird+LibWebView: Move CookieJar, Database, and History to LibWebView 2023-08-31 19:19:45 +02:00
History.h Ladybird+LibWebView: Move CookieJar, Database, and History to LibWebView 2023-08-31 19:19:45 +02:00
Native.css LibWebView: Add a standard "look like the OS" style sheet 2023-08-25 20:30:20 +01:00
OutOfProcessWebView.cpp LibWeb: Port Storage interface from DeprecatedString to String 2023-08-29 10:05:02 +02:00
OutOfProcessWebView.h LibWeb: Port Storage interface from DeprecatedString to String 2023-08-29 10:05:02 +02:00
RequestServerAdapter.cpp LibProtocol+LibWebView: Allow callers provide their own RequestClient 2023-08-02 05:44:43 +02:00
RequestServerAdapter.h LibProtocol+LibWebView: Allow callers provide their own RequestClient 2023-08-02 05:44:43 +02:00
SourceHighlighter.cpp LibWebView: Create a method to syntax-highlight page source with HTML 2023-08-29 08:11:11 -04:00
SourceHighlighter.h LibWebView: Create a method to syntax-highlight page source with HTML 2023-08-29 08:11:11 -04:00
StylePropertiesModel.cpp Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
StylePropertiesModel.h LibGUI+Userland: Propagate errors in Model::column_name() 2023-06-14 17:53:59 +02:00
UserAgent.cpp Browser+Ladybird: Let the list of user agent strings be shared 2023-09-13 19:33:07 -04:00
UserAgent.h Browser+Ladybird: Let the list of user agent strings be shared 2023-09-13 19:33:07 -04:00
ViewImplementation.cpp LibWebView: Allow using native/user style sheets on Lagom 2023-08-26 15:32:36 -04:00
ViewImplementation.h LibWeb+WebContent+headless-browser: Support async text tests 2023-09-15 08:52:25 +02:00
WebContentClient.cpp LibWeb+WebContent+headless-browser: Support async text tests 2023-09-15 08:52:25 +02:00
WebContentClient.h LibWeb+WebContent+headless-browser: Support async text tests 2023-09-15 08:52:25 +02:00
WebSocketClientAdapter.cpp LibWebView+LibProtocol: Allow app to pass custom WebSocketClients 2023-08-03 09:55:20 +02:00
WebSocketClientAdapter.h LibWebView+LibProtocol: Allow app to pass custom WebSocketClients 2023-08-03 09:55:20 +02:00