diff --git a/source b/source index a02b4f19405..5e641c27f19 100644 --- a/source +++ b/source @@ -79482,48 +79482,19 @@ callback FrameRequestCallback = void (DOMHighResTimeStamp -
The domain
attribute's getter must run
- these steps:
To relax the same-origin restriction for a Document activeDocument and a string inputDomain, the user agent must run these steps:
If this Document
object does not have a browsing context, then return the empty string.
-
-
Let effectiveDomain be this Document
's origin's effective domain.
-
-
If effectiveDomain is an opaque - origin, then return the empty string.
Return effectiveDomain, serialized.
The domain
attribute's setter must run these
- steps:
If this Document
object has no browsing
- context, then throw a "SecurityError
"
- DOMException
.
If this Document
object's active sandboxing flag set has its
- sandboxed document.domain
browsing context
- flag set, then throw a "SecurityError
"
- DOMException
.
If the given value is the empty string, then throw a +
If inputDomain is the empty string, then throw a
"SecurityError
" DOMException
.
Let host be the result of parsing the given - value.
Let host be the result of parsing the + inputDomain.
If host is failure, then throw a "SecurityError
"
DOMException
.
Let effectiveDomain be this Document
object's
+
Let effectiveDomain be activeDocument's origin's effective domain.
Return host.
The domain
attribute's getter must run
+ these steps:
If this Document
object does not have a browsing context, then return the empty string.
+
+
Let effectiveDomain be this Document
's origin's effective domain.
+
+
If effectiveDomain is an opaque + origin, then return the empty string.
Return effectiveDomain, serialized.
The domain
attribute's setter must run these
+ steps:
If this Document
object has no browsing
+ context, then throw a "SecurityError
"
+ DOMException
.
If this Document
object's active sandboxing flag set has its
+ sandboxed document.domain
browsing context
+ flag set, then throw a "SecurityError
"
+ DOMException
.
Let host be the result of
+ relaxing the same-origin restriction with this Document
object as
+ activeDocument and the given value as inputDomain.
Set this Document
object's origin's domain to host.