From 01bc5df44d6db653451e18f7b9d32827a808db18 Mon Sep 17 00:00:00 2001
From: Daniel Ehrenberg Users agents that support JavaScript must also implement the import() proposal.
+ User agents that support JavaScript must also implement the import() proposal.
The following terms are defined there, and used in this specification: Users agents that support JavaScript must also implement the import.meta
+ User agents that support JavaScript must also implement the import.meta
proposal. The following term is defined there, and used in this specification: User agents that support JavaScript must also implement the BigInt proposal. Let deep be false. If Type(value) is Undefined, Null, Boolean,
- String, or Number, then return { [[Type]]: "primitive", [[Value]]: value }.
@@ -3074,7 +3074,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
-
If Type(value) is Symbol, then throw a
"DataCloneError
" DOMException
.
Otherwise, if value has a [[BigIntData]] + internal slot, then set serialized to { [[Type]]: "BigInt", [[BigIntData]]: + value.[[BigIntData]] }.
Otherwise, if value has a [[StringData]] internal slot, then set serialized to { [[Type]]: "String", [[StringData]]: value.[[StringData]] }.
If serialized.[[Type]] is "primitive", then set value to serialized.[[Value]].
-Otherwise, if serialized.[[Type]] is "Boolean", then set value to a new Boolean object in - targetRealm whose [[BooleanData]] internal slot value is +
Otherwise, if serialized.[[Type]] is "Boolean", then set value to a + new Boolean object in targetRealm whose [[BooleanData]] internal slot value is serialized.[[BooleanData]].
Otherwise, if serialized.[[Type]] is "Number", then set value to a new Number object in - targetRealm whose [[NumberData]] internal slot value is +
Otherwise, if serialized.[[Type]] is "Number", then set value to a + new Number object in targetRealm whose [[NumberData]] internal slot value is serialized.[[NumberData]].
Otherwise, if serialized.[[Type]] is "String", then set value to a new String object in - targetRealm whose [[StringData]] internal slot value is +
Otherwise, if serialized.[[Type]] is "BigInt", then set value to a + new BigInt object in targetRealm whose [[BigIntData]] internal slot value is + serialized.[[BigIntData]].
Otherwise, if serialized.[[Type]] is "String", then set value to a + new String object in targetRealm whose [[StringData]] internal slot value is serialized.[[StringData]].
Otherwise, if serialized.[[Type]] is "Date", then set value to a new Date object in - targetRealm whose [[DateValue]] internal slot value is +
Otherwise, if serialized.[[Type]] is "Date", then set value to a new + Date object in targetRealm whose [[DateValue]] internal slot value is serialized.[[DateValue]].
Otherwise, if serialized.[[Type]] is "RegExp", then set value to a new RegExp object in - targetRealm whose [[RegExpMatcher]] internal slot value is +
Otherwise, if serialized.[[Type]] is "RegExp", then set value to a + new RegExp object in targetRealm whose [[RegExpMatcher]] internal slot value is serialized.[[RegExpMatcher]], whose [[OriginalSource]] internal slot value is serialized.[[OriginalSource]], and whose [[OriginalFlags]] internal slot value is serialized.[[OriginalFlags]].