Skip to content

nightly: Add WPT as optional tests for boa_runtime (#4008)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Jul 00:56
· 10 commits to main since this release
cc83c51
* Add a URL class (with caveats)

Some methods are NOT currently supported (some don' make sense
outside of a browser context). They are still implemented but
will throw a JavaScript Error.

Supported methods should follow the specification perfectly.

* Adding tests and using url::quirks for simpler getters/setters

* clippies

* Add WPT as optional tests for boa_runtime

To run the tests, you require adding the `wpt-tests` feature
and setting the `WPT_ROOT` environment variable on the
command line. This is currently depending on a pending rstest
PR: https://github.com/la10736/rstest/pull/277

The current set of curated tests are all working.

* Rebuilding Cargo.toml

* clippies

* clippies and cleanup

* disable clippy on rstest which would fail without the right env var

* Move to a release of rstest that has la10736/rstest#277 merged

* Load UTF16 files and move to using latest URL

* Remove code in comment

* fix some compiler warnings

* clippies

* Move WPT tests to their own crate

* Exclude the WPT tests from the default members

* Update

* stuff

* stuff

* stuff

* stuff

* fix clearTimeout(null)

* Ready to review

* Only run tests when using the WPT feature

* Address comments

* Clippies

* Add a build script to clone the WPT repo based on a config

* Exclude WPT tests. They can still be run separately

* Remove Cargo.lock from the repo

* format

* Add a rebuild when test_wpt_config changes