mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
LibWeb: Add window.internals.getComputedRole(element)
This change adds a window.internals.getComputedLabel(element) function, for use in testing ARIA-related behavior. It also patches the imported WPT testdriver.js script’s test_driver.get_computed_role(element) function to call our window.internals.getComputedRole(element) function.
This commit is contained in:
parent
d946d94e2d
commit
c5966bbdcb
Notes:
github-actions[bot]
2024-12-06 18:32:55 +00:00
Author: https://github.com/sideshowbarker
Commit: c5966bbdcb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2779
Reviewed-by: https://github.com/tcl3 ✅
4 changed files with 15 additions and 1 deletions
|
@ -38,6 +38,7 @@ interface Internals {
|
|||
undefined enableCookiesOnFileDomains();
|
||||
undefined expireCookiesWithTimeOffset(long long seconds);
|
||||
|
||||
DOMString getComputedRole(Element element);
|
||||
DOMString getComputedLabel(Element element);
|
||||
unsigned short getEchoServerPort();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue