mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-15 04:07:36 +00:00
This change takes the change we made in120bc52f23to patch the imported WPT aria-utils.js file to use our window.internals.getComputedLabel(el) function, and moves that patching into the imported WPT testdriver.js file — in the same way we did inc5966bbdcb. That centralizes the patching, and avoids the need to patch multiple other WPT tests we’re likely to import eventually. There are actually six different WPT test files upstream which we haven’t imported yet that call window.test_driver_internal.get_computed_label(el) directly — and that, without this change, we’d otherwise end up needing to patch.