diff --git a/index.bs b/index.bs index a1bd8972..f125c260 100644 --- a/index.bs +++ b/index.bs @@ -4900,20 +4900,22 @@ To serialize primitive protocol value given a |value|: of steps for which the associated condition is true, if any:
-
[=Type=](|value|) is {{undefined}} +
[=Type=](|value|) is undefined
Let |remote value| be a [=/map=] matching the script.UndefinedValue production in the [=local end definition=]. -
[=Type=](|value|) is [=null=] +
[=Type=](|value|) is Null
Let |remote value| be a [=/map=] matching the script.NullValue production in the [=local end definition=]. -
[=Type=](|value|) is {{String}} +
[=Type=](|value|) is String
Let |remote value| be a [=/map=] matching the script.StringValue production in the [=local end definition=], with the value property set to |value|. -
[=Type=](|value|) is {{Number}} + Issue: This doesn't handle lone surrogates + +
[=Type=](|value|) is Number
1. Switch on the value of |value|:
@@ -4933,12 +4935,12 @@ To serialize primitive protocol value given a |value|: production in the [=local end definition=], with the value property set to |serialized|. -
[=Type=](|value|) is {{Boolean}} +
[=Type=](|value|) is Boolean
Let |remote value| be a [=/map=] matching the script.BooleanValue production in the [=local end definition=], with the value property set to |value|. -
[=Type=](|value|) is {{BigInt}} +
[=Type=](|value|) is BigInt
Let |remote value| be a [=/map=] matching the script.BigIntValue production in the [=local end definition=], with the value property set to the result of running the [=ToString=] operation on