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

Make URL's origin return solely ASCII code points #311

Merged
merged 1 commit into from
May 19, 2017

Conversation

annevk
Copy link
Member

@annevk annevk commented May 16, 2017

See whatwg/html#2568 for discussion.

See whatwg/html#2689 for the corresponding
change to the HTML Standard.

Closes #297.


Preview | Diff

See whatwg/html#2568 for discussion.

See whatwg/html#2689 for the corresponding
change to the HTML Standard.

Closes #297.

<p class="note no-backref">It returns the Unicode rather than the ASCII serialization for
compatibility with HTML's <code>MessageEvent</code> feature. [[!HTML]]
<a lt="serialization of an origin">serialization</a> of <a>context object</a>'s <a for=URL>url</a>'s
Copy link
Member

Choose a reason for hiding this comment

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

This seems to be a link error; no link in the preview...

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, it needs HTML to land first and then Shepherd needs to pick up the new link.

domenic added a commit to jsdom/whatwg-url that referenced this pull request May 17, 2017
Follows whatwg/url#311. This is both a spec update and a public API change.
annevk added a commit to whatwg/html that referenced this pull request May 18, 2017
And rename “ASCII serialization of an origin” to “serialization of an
origin” though allow both to be used.

Not all implementations implemented the Unicode variant and the ones
that did, did so in a way that made it hard to use.

Tests:

* web-platform-tests/wpt#5939
* web-platform-tests/wpt#5940
* web-platform-tests/wpt#5941
* web-platform-tests/wpt#5944
* web-platform-tests/wpt#5946
* web-platform-tests/wpt#5955
* web-platform-tests/wpt#5957
* web-platform-tests/wpt#5958

URL Standard change: whatwg/url#311.

Service Worker specification follow-up issue: w3c/ServiceWorker#1142.

Fixes #2568.
@annevk
Copy link
Member Author

annevk commented May 18, 2017

Tests at web-platform-tests/wpt#5944.

@annevk annevk merged commit 20c3257 into master May 19, 2017
@annevk annevk deleted the annevk/ascii-origin branch May 19, 2017 13:15
domenic added a commit to jsdom/whatwg-url that referenced this pull request May 26, 2017
Follows whatwg/url#311. This is both a spec update and a public API change.
domenic added a commit to jsdom/whatwg-url that referenced this pull request May 26, 2017
Follows whatwg/url#311. This is both a spec update and a public API change.
alice pushed a commit to alice/html that referenced this pull request Jan 8, 2019
And rename “ASCII serialization of an origin” to “serialization of an
origin” though allow both to be used.

Not all implementations implemented the Unicode variant and the ones
that did, did so in a way that made it hard to use.

Tests:

* web-platform-tests/wpt#5939
* web-platform-tests/wpt#5940
* web-platform-tests/wpt#5941
* web-platform-tests/wpt#5944
* web-platform-tests/wpt#5946
* web-platform-tests/wpt#5955
* web-platform-tests/wpt#5957
* web-platform-tests/wpt#5958

URL Standard change: whatwg/url#311.

Service Worker specification follow-up issue: w3c/ServiceWorker#1142.

Fixes whatwg#2568.
rmisev added a commit to upa-url/upa that referenced this pull request May 24, 2020
Follows whatwg/url#311

Rename previous origin serializer to origin_unicode()
rmisev added a commit to upa-url/upa that referenced this pull request May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants