-
Notifications
You must be signed in to change notification settings - Fork 141
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
Conversation
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 |
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.
This seems to be a link error; no link in the preview...
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, it needs HTML to land first and then Shepherd needs to pick up the new link.
Follows whatwg/url#311. This is both a spec update and a public API change.
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.
Tests at web-platform-tests/wpt#5944. |
Follows whatwg/url#311. This is both a spec update and a public API change.
Follows whatwg/url#311. This is both a spec update and a public API change.
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.
Follows whatwg/url#311 Rename previous origin serializer to origin_unicode()
See whatwg/html#2568 for discussion.
See whatwg/html#2689 for the corresponding
change to the HTML Standard.
Closes #297.
Preview | Diff