mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
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:
committed by
Andreas Kling
parent
afe74afa9e
commit
ec0838b84e
Notes:
github-actions[bot]
2024-10-27 11:11:23 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/ec0838b84eb Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1944
4959
Tests/LibWeb/Text/input/wpt-import/resources/testharness.js
Normal file
4959
Tests/LibWeb/Text/input/wpt-import/resources/testharness.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user