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

@ -484,6 +484,7 @@ func (t InitiatorType) String() string {
const ( const (
InitiatorTypeParser InitiatorType = "parser" InitiatorTypeParser InitiatorType = "parser"
InitiatorTypeScript InitiatorType = "script" InitiatorTypeScript InitiatorType = "script"
InitiatorTypePreload InitiatorType = "preload"
InitiatorTypeOther InitiatorType = "other" InitiatorTypeOther InitiatorType = "other"
) )
@ -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."