Updating to latest protocol.json definition

This commit is contained in:
Kenneth Shaw 2017-02-08 21:35:46 +07:00
parent 4137fe57cc
commit f557f48716
2 changed files with 5 additions and 1 deletions

View File

@ -148,6 +148,7 @@ const (
PausedReasonPromiseRejection PausedReason = "promiseRejection" PausedReasonPromiseRejection PausedReason = "promiseRejection"
PausedReasonOOM PausedReason = "OOM" PausedReasonOOM PausedReason = "OOM"
PausedReasonOther PausedReason = "other" PausedReasonOther PausedReason = "other"
PausedReasonAmbiguous PausedReason = "ambiguous"
) )
// MarshalEasyJSON satisfies easyjson.Marshaler. // MarshalEasyJSON satisfies easyjson.Marshaler.
@ -181,6 +182,8 @@ func (t *PausedReason) UnmarshalEasyJSON(in *jlexer.Lexer) {
*t = PausedReasonOOM *t = PausedReasonOOM
case PausedReasonOther: case PausedReasonOther:
*t = PausedReasonOther *t = PausedReasonOther
case PausedReasonAmbiguous:
*t = PausedReasonAmbiguous
default: default:
in.AddError(errors.New("unknown PausedReason value")) in.AddError(errors.New("unknown PausedReason value"))

View File

@ -12023,7 +12023,8 @@
"debugCommand", "debugCommand",
"promiseRejection", "promiseRejection",
"OOM", "OOM",
"other" "other",
"ambiguous"
], ],
"description": "Pause reason." "description": "Pause reason."
}, },