LibWeb: Implement HTMLElement.innerText closer to spec

And here's the wild part: instead of cloning WPT tests, import the
relevant WPT tests that this fixes into our own test suite.

This works by adding a small Ladybird-specific callback in
resources/testharnessreport.js (which is what that file is meant for!)

Note that these run as text tests, and so they must signal the runner
when they are done. Tests using the "usual" WPT harness should just
work, but tests that do something more freestyle will need manual
signaling if they are to be imported.

I've also increased the test timeout here from 30 to 60 seconds,
to accommodate the larger WPT-style tests.
This commit is contained in:
Andreas Kling 2024-10-24 19:21:55 +02:00 committed by Andreas Kling
commit ec0838b84e
Notes: github-actions[bot] 2024-10-27 11:11:23 +00:00
25 changed files with 6638 additions and 21 deletions