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

LibURL+LibWeb: Add initial set of stubs for URLPatternInit #3224

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shannonbooth
Copy link
Contributor

Locally, I have ~80% of the tests passing for URLPattern spec. Some of the bugs are as a result of differences between the spec and WPT, see one reported issue on this at: whatwg/urlpattern#239, along with some bugs in my implementation that I'm working through, along with a pending bug report or two I need to make.

This begins the process of tidying up that branch from a single behemoth commit and upstreaming the changes :^)

@shannonbooth shannonbooth force-pushed the urlpattern-start-upstreaming branch from af4b39f to d46a644 Compare January 11, 2025 10:10
// https://urlpattern.spec.whatwg.org/#dictdef-urlpatterninit
struct Init {
Optional<String> protocol;
Optional<String> username;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The only thing about putting it in LibURL is it will add an additional dependency on it to LibRegex, but I think that's fine

The URLPattern spec is intended to be implemented inside of LibURL, with
LibWeb only responsible for the IDL conversion layer, in a similar
manner to how URL is implemented.
@shannonbooth shannonbooth force-pushed the urlpattern-start-upstreaming branch from 1a3c230 to 806ee20 Compare January 15, 2025 22:26
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.

1 participant