diff --git a/source b/source index a02b4f19405..73dc066abb9 100644 --- a/source +++ b/source @@ -79178,7 +79178,7 @@ callback FrameRequestCallback = void (DOMHighResTimeStamp
If origin is an opaque origin, then - return origin.
If origin's domain is non-null, then return origin's domain.
To determine if a string hostSuffixString is a registrable domain suffix of or is equal to a host originalHost, run these steps:
+ + +If hostSuffixString is the empty string, then return false.
Let host be the result of parsing + hostSuffixString.
If host is failure, then return false.
If host is not equal to + originalHost, then run these substeps:
+ +If host or originalHost is not a domain, then return false.
+ +This is meant to exclude hosts that are an + IPv4 address or an IPv6 address.
+If host, prefixed by a U+002E FULL STOP (.), does not exactly match the end + of originalHost, then return false.
If host matches a suffix in the Public Suffix List, or, if host, + prefixed by a U+002E FULL STOP (.), matches the end of a suffix in the Public Suffix List, + then return false.
+ +Suffixes must be compared after applying the host parser algorithm.
+Return true.
The domain
attribute's getter must run
these steps:
Let effectiveDomain be this Document
's origin's effective domain.
-
If effectiveDomain is an opaque - origin, then return the empty string.
If effectiveDomain is null, then return the empty string.
Return effectiveDomain, serialized.
SecurityError
"
DOMException
.
- If the given value is the empty string, then throw a
- "SecurityError
" DOMException
.
Let host be the result of parsing the given - value.
If host is failure, then throw a "SecurityError
"
- DOMException
.
Let effectiveDomain be this Document
object's
- origin's effective
- domain.
If host is not equal to - effectiveDomain, then run these substeps:
- -If host or effectiveDomain is not a domain, then throw a "SecurityError
"
- DOMException
.
This is meant to exclude hosts that are an - IPv4 address or an IPv6 address.
-If host, prefixed by a U+002E FULL STOP (.), does not exactly match the end
- of effectiveDomain, then throw a "SecurityError
"
- DOMException
.
Let effectiveDomain be this Document
's origin's effective domain.
-
If host matches a suffix in the Public Suffix List, or, if host,
- prefixed by a U+002E FULL STOP (.), matches the end of a suffix in the Public Suffix List,
- then throw a "SecurityError
" DOMException
.
If effectiveDomain is null, then throw a
+ "SecurityError
" DOMException
.
Suffixes must be compared after applying the host parser algorithm.
-If the given value is not
+ a registrable domain suffix of and is not equal to effectiveDomain, then throw
+ a "SecurityError
" DOMException
.
Set this Document
object's origin's domain to host.