Skip to content

Commit 7dd07b6

Browse files
whimboojgraham
authored andcommitted
Add type field to "ScriptEvaluateResult" for "result" or "exception"
1 parent b3e6a24 commit 7dd07b6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4162,12 +4162,14 @@ ScriptEvaluateResult = (
41624162
)
41634163

41644164
ScriptEvaluateResultSuccess = {
4165+
type: "success",
41654166
result: RemoteValue,
41664167
realm: Realm
41674168
}
41684169

41694170
ScriptEvaluateResultException = {
4170-
exceptionDetails: ExceptionDetails
4171+
type: "exception",
4172+
exceptionDetails: ExceptionDetails,
41714173
realm: Realm
41724174
}
41734175
</pre>

0 commit comments

Comments
 (0)