Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement URL.domainToUnicode #11629
Closed
Labels
Comments
|
Please make a comment here if you intend to work on this issue. Thank you! |
|
@SimonSapin Do we test this in rust-url? |
|
I'll work on this if no one else already is. |
|
You got it! |
bors-servo
added a commit
that referenced
this issue
Jun 6, 2016
Implement URL.domainToUnicode Fixes #11629 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11629 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes: Some expected test failures have been removed. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11632) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The implementation of URL.domainToUnicode can just use url::quirks::domain_to_unicode.
The operation needs to be uncommented in components/script/dom/webidls/URL.webidl and a new static method
DomainToUnicodeneeds to be implemented in components/script/dom/url.rs.The test expectations also need to be changed.
Files: