-
Notifications
You must be signed in to change notification settings - Fork 15
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
Use URL serializer #66
Conversation
Fixes #63
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems resolved URL is the wrong concept here. If this holds an image request, you want https://html.spec.whatwg.org/multipage/images.html#img-req-url, right?
As that's already a string, you'll have to parse it to determine the scheme. (Although also, this seems like a flaw there, it should have been a URL.)
Do we need to strip things like username/password/fragment? It probably doesn't matter here, or are these also reported outside of this specific object in some way?
A URL's scheme doesn't include the colon. (Existing error.)
Yea, that sounds good.
Done
Not reported outside of this object.
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, except for a minor linking issue.
Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
See WICG/element-timing#66 for context.
I guess I need to wait a day or so for bikeshed to pick up the new exports? I tried |
Yeah, generally it takes about a day. If it continues failing I recommend reaching out to Tab Atkins. |
Does this look good @annevk? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah thanks.
It's worth filing a follow-up bug for the other references to HTML. They ought to either be exported or some refactoring should be done, depending.
Sounds good, filed #67 |
See WICG/element-timing#66 for context.
See WICG/element-timing#66 for context.
Fixes #62 and #63
@annevk
Preview | Diff