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. // InitiatorType values.
const ( const (
InitiatorTypeParser InitiatorType = "parser" InitiatorTypeParser InitiatorType = "parser"
InitiatorTypeScript InitiatorType = "script" InitiatorTypeScript InitiatorType = "script"
InitiatorTypeOther InitiatorType = "other" InitiatorTypePreload InitiatorType = "preload"
InitiatorTypeOther InitiatorType = "other"
) )
// MarshalEasyJSON satisfies easyjson.Marshaler. // MarshalEasyJSON satisfies easyjson.Marshaler.
@ -504,6 +505,8 @@ func (t *InitiatorType) UnmarshalEasyJSON(in *jlexer.Lexer) {
*t = InitiatorTypeParser *t = InitiatorTypeParser
case InitiatorTypeScript: case InitiatorTypeScript:
*t = InitiatorTypeScript *t = InitiatorTypeScript
case InitiatorTypePreload:
*t = InitiatorTypePreload
case InitiatorTypeOther: case InitiatorTypeOther:
*t = InitiatorTypeOther *t = InitiatorTypeOther

View File

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