mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Tests: Replace load-reference-page debug action with internals method
WPT reference tests can add metadata to tests to instruct the test runner how to interpret the results. Because of this, it is not enough to have an action that starts loading the (mis)match reference: we need the test runner to receive the metadata so it can act accordingly. This sets our test runner up for potentially supporting multiple (mis)match references, and fuzzy rendering matches - the latter will be implemented in the following commit.
This commit is contained in:
committed by
Tim Ledbetter
parent
0f642ecb5c
commit
e4b2253b63
Notes:
github-actions[bot]
2025-07-17 12:00:33 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/e4b2253b633 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5470 Reviewed-by: https://github.com/tcl3 ✅
@@ -129,6 +129,7 @@ private:
|
||||
virtual void did_finish_handling_input_event(u64 page_id, Web::EventResult event_result) override;
|
||||
virtual void did_finish_test(u64 page_id, String text) override;
|
||||
virtual void did_set_test_timeout(u64 page_id, double milliseconds) override;
|
||||
virtual void did_receive_reference_test_metadata(u64 page_id, JsonValue) override;
|
||||
virtual void did_set_browser_zoom(u64 page_id, double factor) override;
|
||||
virtual void did_find_in_page(u64 page_id, size_t current_match_index, Optional<size_t> total_match_count) override;
|
||||
virtual void did_change_theme_color(u64 page_id, Gfx::Color color) override;
|
||||
|
||||
Reference in New Issue
Block a user