From c3b2511ee0158fa4b5bd4e4689c6be54132f3d90 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren If this element's url is null, return the
empty string. Return the Unicode serialization
- of this element's url's Return the serialization of this
+ element's url's origin. It returns the Unicode rather than the ASCII serialization for
- compatibility with The An internal value, with no serialization it can be recreated from (it is serialized as
- "MessageEvent
.protocol
attribute's getter must
run these steps:null
" per ASCII serialization of an origin), for which the
- only meaningful operation is testing for equality.null
" per serialization of an origin), for which the only
+ meaningful operation is testing for equality.
The Unicode - serialization of an origin is the string obtained by applying the following algorithm to the - given origin origin:
- -If origin is an opaque origin, then
- return "null
".
Let host be origin's host.
Let unicodeHost be host if host is not a domain, and the result of applying domain to Unicode - to host otherwise.
Let unicodeOrigin be a new tuple - origin consisting origin's scheme, - unicodeHost, and origin's port.
Return the ASCII serialization of an origin, given unicodeOrigin.
- -The name ASCII serialization of an origin is misleading, as it - merely serializes an origin, which are all ASCII by default due to the URL - parser.
-The Unicode
- serialization of ("https
", "xn--maraa-rta.example
", null, null) is "https://maraña.example
".
The ASCII serialization - of an origin is the string obtained by applying the following algorithm to the given +
The serialization of an + origin is the string obtained by applying the following algorithm to the given origin origin:
Return result.
The serialization of ("https
", "xn--maraa-rta.example
", null, null) is "https://xn--maraa-rta.example
".
There used to also be a + Unicode serialization of an origin. However, it was never widely adopted.
+Two origins, A and B, are said to be @@ -81272,8 +81243,8 @@ State: <OUTPUT NAME=I>1</OUTPUT> <INPUT VALUE="Increment" TYPE=BUTTON O
Let current be current's parent browsing context.
Append the Unicode serialization of current's active document's +
Append the serialization of current's active document's origin to output.
Return to the step labeled loop.
SecurityError
" DOMException
.
- Return the Unicode serialization
- of this Return the serialization of this
+ Location
object's url's Location
object's url's origin.
It returns the Unicode rather than the ASCII serialization for
- compatibility with MessageEvent
.
The protocol
attribute's getter must run
these steps:
The origin
attribute's getter must return this
object's relevant settings object's origin, origin, serialized.
Initialize event's type
attribute to message
, its data
attribute to data, its origin
attribute
- to the Unicode serialization
- of the origin of the event stream's final URL (i.e. the URL after redirects), and
- its lastEventId
attribute to the last event ID string of the event
+ to the serialization of the origin of the event stream's final URL (i.e., the URL after
+ redirects), and its lastEventId
attribute to
+ the last event ID string of the event
source.
If the event type buffer has a value other than the empty string, change the @@ -95147,10 +95115,10 @@ socket.onopen = function () {
Fire an event named message
at the WebSocket
object, using
MessageEvent
, with the origin
- attribute initialized to the Unicode
- serialization of the WebSocket
object's url's origin, and
- the data
attribute initialized to
+ attribute initialized to the serialization of
+ the WebSocket
object's url's origin, and the data
attribute initialized to
dataForEvent.
Document
's origin is not same origin with
targetOrigin, then abort these steps.
- Let origin be the Unicode
- serialization of incumbentSettings's Let origin be the serialization of incumbentSettings's origin.
Let source be the WindowProxy
object's corresponding to
@@ -96399,17 +96367,17 @@ interface BroadcastChannel : EventTarget {
If this throws an exception, then fire an event
named messageerror
at destination, using
MessageEvent
, with the origin
- attribute initialized to the Unicode
- serialization of sourceSettings's origin, and then abort these steps.
Fire an event named message
at destination, using
MessageEvent
, with the data
attribute
initialized to data and the origin
- attribute initialized to the Unicode
- serialization of sourceSettings's serialization of
+ sourceSettings's origin.
The origin
attribute's getter must
- return the Unicode serialization of the
- associated WorkerGlobalScope
- object's url's serialization of the associated WorkerGlobalScope
object's
+ url's origin.
It returns the Unicode rather than the ASCII serialization for
- compatibility with MessageEvent
.
The protocol
attribute's getter
must run return the associated WorkerGlobalScope
object's