Updating to latest chrome protocol.json

This commit is contained in:
Kenneth Shaw 2017-01-29 08:47:54 +07:00
parent 6c17327b42
commit 45ac05fa88
2 changed files with 7 additions and 3 deletions

View File

@ -482,9 +482,10 @@ func (t InitiatorType) String() string {
// InitiatorType values.
const (
InitiatorTypeParser InitiatorType = "parser"
InitiatorTypeScript InitiatorType = "script"
InitiatorTypeOther InitiatorType = "other"
InitiatorTypeParser InitiatorType = "parser"
InitiatorTypeScript InitiatorType = "script"
InitiatorTypePreload InitiatorType = "preload"
InitiatorTypeOther InitiatorType = "other"
)
// MarshalEasyJSON satisfies easyjson.Marshaler.
@ -504,6 +505,8 @@ func (t *InitiatorType) UnmarshalEasyJSON(in *jlexer.Lexer) {
*t = InitiatorTypeParser
case InitiatorTypeScript:
*t = InitiatorTypeScript
case InitiatorTypePreload:
*t = InitiatorTypePreload
case InitiatorTypeOther:
*t = InitiatorTypeOther

View File

@ -2405,6 +2405,7 @@
"enum": [
"parser",
"script",
"preload",
"other"
],
"description": "Type of this initiator."