-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
test: add comment to all whatwg-url tests #12798
Conversation
A comment is added to the first line of each whatwg-url test stating that they should not be modified. Fixes: #12793
@rayto510 Thank. |
Do all of these tests really require this comment? Perhaps we can just place the comment where the upstream tests are located? |
I'd rather not do this either. If we do need to have it, then the comment should be expanded to explain why. It also should start with an upper case and have proper punctuation. |
@mscdex AIUI the problem is that people may see them as simple test fixes and raise PRs, so if the comment isn't in that file then they'll probably end up getting modified. |
@gibfahn I don't think it should be a problem if there is a clear boundary between upstream tests and our own. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So..to say whatwg url test should not be modified.
in all whatwg-url tests is not very accurate, because some tests are written by us and are not necessarily testing the spec behavior. Another approach would be to modify the the tests withWPT Refs:
in the comment to something like The following tests are copied from WPT, modifications to them should be upstreamed first. Refs:
I don't think the fact that they all have the
Okay, so this only needs to be applied to files with |
ping @rayto510 |
I'll follow up |
@refack Can i take a shot at this? Should i create a new PR? |
A comment is added to the first line of each whatwg-url test stating
that they should not be modified.
Fixes: #12793
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)