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

Editorial: align with URL's cannot-be-base-URL removal #1337

Merged
merged 2 commits into from
Oct 19, 2021
Merged

Conversation

annevk
Copy link
Member

@annevk annevk commented Oct 19, 2021

These URLs now have a path whose value is a string rather than a list.

See whatwg/url#655 for context.


Preview | Diff

These URLs now have a path whose value is a string rather than a list.

See whatwg/url#655 for context.
annevk added a commit to whatwg/url that referenced this pull request Oct 19, 2021
@annevk annevk requested a review from domenic October 19, 2021 10:47
Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

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

LGTM with optional suggestion that I'm not too sure about myself.

fetch.bs Outdated
<a for=response>header list</a> consist of a single <a for=/>header</a> whose
<a for=header>name</a> is `<code>Content-Type</code>` and <a for=header>value</a> is
`<code>text/html;charset=utf-8</code>`, and <a for=response>body</a> is the empty byte sequence.
<p>If <var>request</var>'s <a for=request>current URL</a>'s <a for=url>path</a> is
Copy link
Member

Choose a reason for hiding this comment

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

Maybe the string "blank" for extra clarity? It's redundant but might help a bit.

fetch.bs Outdated
is "<code>about</code>", and <a for=url>path</a> contains a single string
"<code>client</code>"
<li><p><var>parsedReferrer</var>'s <a for=url>scheme</a> is "<code>about</code>" and
<a for=url>path</a> is "<code>client</code>"
Copy link
Member

Choose a reason for hiding this comment

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

Similarly here.

@annevk
Copy link
Member Author

annevk commented Oct 19, 2021

I'm fine with trying that for a bit. Normally I end up removing those type restatements, but these URLs are not too frequent so maybe it can help.

@annevk annevk merged commit 9bfe9e7 into main Oct 19, 2021
@annevk annevk deleted the annevk/url branch October 19, 2021 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants