Re: [whatwg/url] Base URL Windows drive sometimes favoured over input string drive (#574)

FYI @alwinb, I have a lot of additional tests in my implementation of a new URL type for Swift: https://github.com/karwa/swift-url/blob/main/Tests/WebURLTests/additional_constructor_tests.json

I'm using a very different path parsing algorithm to the one in the standard, and I noticed quite a lot of situations where I could pass the entire WPT test suite and still forget to handle some edge-cases. They're in the WPT JSON format because I test them against JSDOM to ensure they really don't go out of sync with the current standard, and because I planned to upstream them in the near future (still doing final tidying-up of the implementation). The tests may include some duplicates of existing tests, because at some point I got a bit frustrated at the  number of holes I was finding, so I started listing combinations.

If you're familiar with the current set of the tests, you may find it useful, and it may be easier for you to spot gaps in the WPT's coverage. They are broken up in to categories with extensive comments, so it's not just a totally unordered collection of tests :)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/574#issuecomment-818234601

Received on Monday, 12 April 2021 21:02:10 UTC