Skip to content

editorial: replace occurrences of "undefined" #695

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ with parameters |session|, |capabilities|, and |flags| is:
1. Let |webSocketUrl| be the result of [=getting a property=] named
"<code>webSocketUrl</code>" from |capabilities|.

1. If |webSocketUrl| is undefined, return.
1. If |webSocketUrl| is [=undefined=], return.

1. [=Assert=]: |webSocketUrl| is true.

Expand Down Expand Up @@ -7326,10 +7326,10 @@ To <dfn>deserialize local value</dfn> given |local protocol value|, |realm| and
1. If |local protocol value| matches the <code>script.ChannelValue</code> production,
return [=create a channel=] with |session|, |realm| and |local protocol value|.

1. Let |type| be the value of the <code>type</code> field of |local protocol value| or undefined if
1. Let |type| be the value of the <code>type</code> field of |local protocol value| or null if
no such a field.

1. Let |value| be the value of the <code>value</code> field of |local protocol value| or undefined
1. Let |value| be the value of the <code>value</code> field of |local protocol value| or null
if no such a field.

1. In the following list of conditions and associated steps, run the first set of steps for which
Expand Down Expand Up @@ -7378,7 +7378,7 @@ To <dfn>deserialize local value</dfn> given |local protocol value|, |realm| and
1. Let |pattern| be the value of the <code>pattern</code> field of |local protocol value|.

1. Let |flags| be the value of the <code>flags</code> field of |local protocol value| or
undefined if no such a field.
[=undefined=] if no such a field.

1. Let |regex_result| be [=Regexp=](|pattern|, |flags|). If this throws exception, return [=error=]
with [=error code=] [=invalid argument=].
Expand Down Expand Up @@ -7498,13 +7498,13 @@ represented by value, never by reference.

To <dfn>serialize primitive protocol value</dfn> given a |value|:

1. Let |remote value| be undefined.
1. Let |remote value| be [=undefined=].

1. In the following list of conditions and associated steps, run the first set
of steps for which the associated condition is true, if any:

<dl>
<dt>[=Type=](|value|) is undefined
<dt>[=Type=](|value|) is [=undefined=]
<dd>Let |remote value| be a [=/map=] matching the <code>script.UndefinedValue</code>
production in the [=local end definition=].

Expand Down Expand Up @@ -7563,7 +7563,7 @@ To <dfn>deserialize primitive protocol value</dfn> given a |primitive protocol v

1. Let |type| be the value of the <code>type</code> field of |primitive protocol value|.

1. Let |value| be undefined.
1. Let |value| be [=undefined=].

1. If |primitive protocol value| has field <code>value</code>:
1. Let |value| be the value of the <code>value</code> field of |primitive protocol value|.
Expand Down Expand Up @@ -7593,7 +7593,7 @@ To <dfn>deserialize primitive protocol value</dfn> given a |primitive protocol v

1. Let |number_result| be [=StringToNumber=](|value|).

1. If |number_result| is NaN, return [=error=] with [=error code=] [=invalid argument=]
1. If |number_result| is NaN, return [=error=] with [=error code=] [=invalid argument=].

1. Return [=success=] with data |number_result|.

Expand All @@ -7604,7 +7604,7 @@ To <dfn>deserialize primitive protocol value</dfn> given a |primitive protocol v
<dd>
1. Let |bigint_result| be [=StringToBigInt=](|value|).

1. If |bigint_result| is undefined, return [=error=] with [=error code=] [=invalid argument=]
1. If |bigint_result| is [=undefined=], return [=error=] with [=error code=] [=invalid argument=]

1. Return [=success=] with data |bigint_result|.

Expand Down Expand Up @@ -8223,7 +8223,7 @@ an |ownership type|, a |serialization internal map|, a |realm| and a |session|:
1. Let |remote value| be a result of [=serialize primitive protocol value=]
given a |value|.

1. If |remote value| is not undefined, return |remote value|.
1. If |remote value| is not [=undefined=], return |remote value|.

1. In the following list of conditions and associated steps, run the first set
of steps for which the associated condition is true:
Expand Down
Loading