Open
Description
Follow-up-of: #292
Could you let me know if the following is an error in the spec?
The spec says:
- Let |sandbox| be the value of the "
sandbox
" field in |command
parameters|, if present, or null otherwise.
.i.e. null
is possible. However the type specification is:
?sandbox: text
Should it have been
?sandbox: text / null
...instead? Other places in the spec have / null
to denote explicit nullability possible.
The alternative would be to eliminate the explicit or null otherwise
language. Here I am specifically thinking of undefined
vs null
in TS/JS.
I am happy to send a PR if you confirm such a fix is indeed desirable.