Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StarlingMonkey WPT tests #810

Merged
merged 21 commits into from
Jun 24, 2024
Merged

StarlingMonkey WPT tests #810

merged 21 commits into from
Jun 24, 2024

Conversation

guybedford
Copy link
Member

@guybedford guybedford commented Jun 20, 2024

This enables the WPT tests for the StarlingMonkey port on CI.

In the process StarlingMonkey is updated to the latest version, including with the upstream fixes:

It also turns out StarlingMonkey was actually passing one extra WPT than our build. To resolve that this PR also updates our rust-url crate to the latest and to line up with StarlingMonkey's implementation, which replaces #806. The remaining port TODOs are also completed here.

@guybedford
Copy link
Member Author

guybedford commented Jun 21, 2024

From 132 failures initially, there are now just a few WPT tests left to pass:

  • html/webappapis/timers/missing-timeout-setinterval.any.js
  • html/webappapis/timers/clearinterval-from-callback.any.js
  • url/urlsearchparams-delete.any.js
  • url/url-setters.any.js (2)
  • hr-time/basic.any.js
  • fetch/api/response/response-init-001.any.js
  • fetch/api/response/response-error.any.js
  • html/webappapis/timers/cleartimeout-clearinterval.any.js

@guybedford guybedford changed the title wip: StarlingMonkey WPT StarlingMonkey WPT tests Jun 21, 2024
@guybedford guybedford requested a review from elliottt June 21, 2024 22:10
Copy link
Contributor

@elliottt elliottt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just one comment about buffer allocation.

.github/workflows/starlingmonkey.yml Show resolved Hide resolved
runtime/fastly/host-api/host_api.cpp Outdated Show resolved Hide resolved
@guybedford guybedford requested a review from elliottt June 22, 2024 02:50
Copy link
Contributor

@elliottt elliottt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@guybedford guybedford merged commit e621dc9 into main Jun 24, 2024
23 checks passed
@guybedford guybedford deleted the starlingmonkey-wpt branch June 24, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants