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

feat(url): Add quirks::internal_components #788

Merged
merged 4 commits into from Sep 7, 2022

Conversation

littledivy
Copy link
Contributor

Supersedes #762 with added doc comments

Co-Authored-By: Aaron O'Mullan <aaron.omullan@gmail.com>
@littledivy littledivy changed the title feat(url): Add URL::internal_components feat(url): Add quirks::internal_components Sep 5, 2022
@codecov-commenter
Copy link

codecov-commenter commented Sep 5, 2022

Codecov Report

Merging #788 (e1b6b15) into master (1d307ae) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #788      +/-   ##
==========================================
+ Coverage   85.23%   85.26%   +0.03%     
==========================================
  Files          22       22              
  Lines        3894     3903       +9     
==========================================
+ Hits         3319     3328       +9     
  Misses        575      575              
Impacted Files Coverage Δ
url/src/quirks.rs 96.72% <ø> (ø)
url/tests/unit.rs 98.96% <ø> (ø)
idna/src/uts46.rs 94.31% <0.00%> (+0.17%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

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

This looks good to me functionality wise. Please add a couple of tests.

@valenting do you have concerns exposing this internal structure in a semi-public API? Exposing this info would allow us to significantly speed up our URL JS global in Deno.

@valenting
Copy link
Collaborator

I would prefer feature-gate this API instead. If that's not possible I can live with it. 🤷‍♂️

@valenting
Copy link
Collaborator

LGTM. @lucacasonato approve and merge at your convenience.

Copy link
Collaborator

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@lucacasonato lucacasonato merged commit a3df365 into servo:master Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants