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

Additional file URL tests #28432

Merged
merged 1 commit into from Apr 12, 2021
Merged

Additional file URL tests #28432

merged 1 commit into from Apr 12, 2021

Conversation

alwinb
Copy link
Contributor

@alwinb alwinb commented Apr 10, 2021

Some tests for the handling of drive-letters that are preceded by two slashes.

  • /C:/ against file://host/ resolves to file://host/C:/
  • file:/C:/ against file://host/ resolves to file://host/C:/
  • //C:/ against file://host/ resolves to file:///C:/
  • file://C:/ against file://host/ resolves to file:///C:/

- file:/C:/  against file://host/ resolves to file://host/C:/
- file://C:/ against file://host/ resolves to file:///C:/
@alwinb
Copy link
Contributor Author

alwinb commented Apr 10, 2021

This caught be by surprise a while ago, my implementation passed all the tests but did behave differently in the last two cases.

@domenic domenic merged commit 1439087 into web-platform-tests:master Apr 12, 2021
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.

None yet

4 participants