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

IdlHarness: Improve the formatting of generic types. #13142

Merged
merged 1 commit into from
Feb 20, 2020

Conversation

Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Sep 21, 2018

No description provided.

@foolip
Copy link
Member

foolip commented Oct 26, 2019

@Ms2ger can you rebase that and trigger som full runs so that it's easy to see what effect this will have?

@Ms2ger
Copy link
Contributor Author

Ms2ger commented Oct 28, 2019

@foolip rebased, but I don't know how to trigger full runs.

@foolip
Copy link
Member

foolip commented Oct 28, 2019

@Ms2ger see https://web-platform-tests.org/running-tests/from-ci.html

Chrome Dev, Firefox Nightly and Safari TP should be enough to catch anything interesting in the changes.

@foolip
Copy link
Member

foolip commented Oct 28, 2019

Oh wait, the affected tests already includen the right tests, so no need to trigger full runs.

@foolip
Copy link
Member

foolip commented Oct 28, 2019

https://wpt.fyi/results/?diff&filter=ADC&q=is%3Adifferent&run_id=349900001&run_id=340780001 is a good view to start from. Is it intentional that "<undefined>" should be in so many names, or is that a bug?

@Ms2ger
Copy link
Contributor Author

Ms2ger commented Oct 28, 2019

No, that's a bug, probably caused by w3c/webidl2.js@f4292a7. I attempted a fix.

CC @saschanaz

@foolip
Copy link
Member

foolip commented Oct 29, 2019

The generated names look pretty good now, although I certainly haven't read through all of them.

@Ms2ger this seems like should be very suited to unit testing, can you add some to show at least the basic cases? That'd also prevent regressions with future webidl2.js updates more effectively than skimming differences in results.

@gsnedders gsnedders closed this Jan 24, 2020
@gsnedders gsnedders deleted the idlharness-member-tostring branch January 24, 2020 18:06
@gsnedders gsnedders restored the idlharness-member-tostring branch January 24, 2020 18:50
@Hexcles Hexcles reopened this Jan 24, 2020
@gsnedders gsnedders removed their assignment Jan 31, 2020
This deduplicates some code, and improves the output. This ensures that unions
and generics don't show up as [object Object], and it makes the output for
other arguments more accurate.
@Ms2ger
Copy link
Contributor Author

Ms2ger commented Feb 13, 2020

Finally got around to this, and improved the output a bit more. re-r? @foolip

Copy link
Member

@foolip foolip left a comment

Choose a reason for hiding this comment

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

@foolip
Copy link
Member

foolip commented Feb 20, 2020

wpt-firefox-nightly-stability timed out because there were too many tests to run. If it hadn't timed out it probably would have failed because of #16175. Admin merging.

@foolip foolip merged commit 06ef87a into master Feb 20, 2020
@foolip foolip deleted the idlharness-member-tostring branch February 20, 2020 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants