This repository was archived by the owner on Apr 25, 2025. It is now read-only.
File tree 1 file changed +3
-4
lines changed 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1185,7 +1185,8 @@ interface Exception {
1185
1185
An {{Exception}} value represents a type of exception.
1186
1186
{{Exception}} values have an <dfn for=Exception>exception tag</dfn> .
1187
1187
1188
- The <dfn for=Exception>payload types</dfn> of an {{Exception}} is the [=list=] of types of
1188
+ The <dfn for=Exception>payload types</dfn> of an {{Exception}} is the [=list=] of types associated
1189
+ with its [=Exception/exception tag=] .
1189
1190
1190
1191
1191
1192
<h4 id="runtime-exceptions">Runtime exceptions</h4>
@@ -1202,15 +1203,13 @@ A {{RuntimeException}} value represents an [=exnref=] value.
1202
1203
{{RuntimeException}} values have an <dfn for=RuntimeException>internal exception</dfn> , which
1203
1204
is an [=event address=] .
1204
1205
1205
- Issue: Should it be possible to construct {{RuntimeException}} objects from JavaScript? Only with
1206
- the [=JavaScript exception tag=] or also with others? How?
1207
1206
<div algorithm>
1208
1207
1209
1208
The <dfn constructor for=RuntimeException
1210
1209
lt="RuntimeException(exceptionType, payload)"> new RuntimeException(|exceptionType|, |payload|)</dfn>
1211
1210
constructor steps are:
1212
1211
1213
- 1. Let |types| be |exceptionType|'s [=Exception/exception tag=]' s [=list=] of types .
1212
+ 1. Let |types| be |exceptionType|'s [=Exception/payload types=] .
1214
1213
1. If |types|'s [=list/size=] is not |payload|' s [=list/size=] ,
1215
1214
1. Throw a {{TypeError}} .
1216
1215
1. Let |wasmPayload| be « ».
You can’t perform that action at this time.
0 commit comments