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

Subset URL tests by file/javascript/mailto schemes #37372

Merged
merged 2 commits into from
Dec 19, 2022

Conversation

foolip
Copy link
Member

@foolip foolip commented Dec 7, 2022

No description provided.

@gsnedders
Copy link
Member

for all browsers this seems to (surprisingly) increase the total number of tests:

Test master 83f8916
/url/ 3769 / 3819 3790 / 3840

@foolip
Copy link
Member Author

foolip commented Dec 15, 2022

@gsnedders there should be some increase, as there's both harness status and "Loading data…" tests contributing to the denominator. There are 7 tests that were turned into 4 variants each, which adds 7*3 = 21. That matches the delta seen.

@foolip foolip marked this pull request as ready for review December 15, 2022 08:39
@wpt-pr-bot wpt-pr-bot added the url label Dec 15, 2022
var key = expected.input.split(":")[0];
return key;
}
return "other";
Copy link
Member Author

Choose a reason for hiding this comment

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

It's important that the key isn't falsey, otherwise it'll be included in all test variants.

url/resources/a-element.js Outdated Show resolved Hide resolved
url/url-constructor.any.js Outdated Show resolved Hide resolved
url/url-setters.any.js Outdated Show resolved Hide resolved
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

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

Happy to rubberstamp this.

@foolip foolip merged commit 2f096ab into web-platform-tests:master Dec 19, 2022
@foolip foolip deleted the subset-url-tests branch December 19, 2022 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants