Updating to latest protocol.json
This commit is contained in:
parent
2bc9c6ad0b
commit
7f081d4be0
12
cdp/cdp.go
12
cdp/cdp.go
|
@ -391,10 +391,14 @@ const (
|
||||||
CommandAccessibilityGetPartialAXTree MethodType = "Accessibility.getPartialAXTree"
|
CommandAccessibilityGetPartialAXTree MethodType = "Accessibility.getPartialAXTree"
|
||||||
EventStorageCacheStorageListUpdated MethodType = "Storage.cacheStorageListUpdated"
|
EventStorageCacheStorageListUpdated MethodType = "Storage.cacheStorageListUpdated"
|
||||||
EventStorageCacheStorageContentUpdated MethodType = "Storage.cacheStorageContentUpdated"
|
EventStorageCacheStorageContentUpdated MethodType = "Storage.cacheStorageContentUpdated"
|
||||||
|
EventStorageIndexedDBListUpdated MethodType = "Storage.indexedDBListUpdated"
|
||||||
|
EventStorageIndexedDBContentUpdated MethodType = "Storage.indexedDBContentUpdated"
|
||||||
CommandStorageClearDataForOrigin MethodType = "Storage.clearDataForOrigin"
|
CommandStorageClearDataForOrigin MethodType = "Storage.clearDataForOrigin"
|
||||||
CommandStorageGetUsageAndQuota MethodType = "Storage.getUsageAndQuota"
|
CommandStorageGetUsageAndQuota MethodType = "Storage.getUsageAndQuota"
|
||||||
CommandStorageTrackCacheStorageForOrigin MethodType = "Storage.trackCacheStorageForOrigin"
|
CommandStorageTrackCacheStorageForOrigin MethodType = "Storage.trackCacheStorageForOrigin"
|
||||||
CommandStorageUntrackCacheStorageForOrigin MethodType = "Storage.untrackCacheStorageForOrigin"
|
CommandStorageUntrackCacheStorageForOrigin MethodType = "Storage.untrackCacheStorageForOrigin"
|
||||||
|
CommandStorageTrackIndexedDBForOrigin MethodType = "Storage.trackIndexedDBForOrigin"
|
||||||
|
CommandStorageUntrackIndexedDBForOrigin MethodType = "Storage.untrackIndexedDBForOrigin"
|
||||||
EventLogEntryAdded MethodType = "Log.entryAdded"
|
EventLogEntryAdded MethodType = "Log.entryAdded"
|
||||||
CommandLogEnable MethodType = "Log.enable"
|
CommandLogEnable MethodType = "Log.enable"
|
||||||
CommandLogDisable MethodType = "Log.disable"
|
CommandLogDisable MethodType = "Log.disable"
|
||||||
|
@ -1190,6 +1194,10 @@ func (t *MethodType) UnmarshalEasyJSON(in *jlexer.Lexer) {
|
||||||
*t = EventStorageCacheStorageListUpdated
|
*t = EventStorageCacheStorageListUpdated
|
||||||
case EventStorageCacheStorageContentUpdated:
|
case EventStorageCacheStorageContentUpdated:
|
||||||
*t = EventStorageCacheStorageContentUpdated
|
*t = EventStorageCacheStorageContentUpdated
|
||||||
|
case EventStorageIndexedDBListUpdated:
|
||||||
|
*t = EventStorageIndexedDBListUpdated
|
||||||
|
case EventStorageIndexedDBContentUpdated:
|
||||||
|
*t = EventStorageIndexedDBContentUpdated
|
||||||
case CommandStorageClearDataForOrigin:
|
case CommandStorageClearDataForOrigin:
|
||||||
*t = CommandStorageClearDataForOrigin
|
*t = CommandStorageClearDataForOrigin
|
||||||
case CommandStorageGetUsageAndQuota:
|
case CommandStorageGetUsageAndQuota:
|
||||||
|
@ -1198,6 +1206,10 @@ func (t *MethodType) UnmarshalEasyJSON(in *jlexer.Lexer) {
|
||||||
*t = CommandStorageTrackCacheStorageForOrigin
|
*t = CommandStorageTrackCacheStorageForOrigin
|
||||||
case CommandStorageUntrackCacheStorageForOrigin:
|
case CommandStorageUntrackCacheStorageForOrigin:
|
||||||
*t = CommandStorageUntrackCacheStorageForOrigin
|
*t = CommandStorageUntrackCacheStorageForOrigin
|
||||||
|
case CommandStorageTrackIndexedDBForOrigin:
|
||||||
|
*t = CommandStorageTrackIndexedDBForOrigin
|
||||||
|
case CommandStorageUntrackIndexedDBForOrigin:
|
||||||
|
*t = CommandStorageUntrackIndexedDBForOrigin
|
||||||
case EventLogEntryAdded:
|
case EventLogEntryAdded:
|
||||||
*t = EventLogEntryAdded
|
*t = EventLogEntryAdded
|
||||||
case CommandLogEnable:
|
case CommandLogEnable:
|
||||||
|
|
|
@ -1084,12 +1084,24 @@ func UnmarshalMessage(msg *cdp.Message) (interface{}, error) {
|
||||||
case cdp.CommandStorageUntrackCacheStorageForOrigin:
|
case cdp.CommandStorageUntrackCacheStorageForOrigin:
|
||||||
return emptyVal, nil
|
return emptyVal, nil
|
||||||
|
|
||||||
|
case cdp.CommandStorageTrackIndexedDBForOrigin:
|
||||||
|
return emptyVal, nil
|
||||||
|
|
||||||
|
case cdp.CommandStorageUntrackIndexedDBForOrigin:
|
||||||
|
return emptyVal, nil
|
||||||
|
|
||||||
case cdp.EventStorageCacheStorageListUpdated:
|
case cdp.EventStorageCacheStorageListUpdated:
|
||||||
v = new(storage.EventCacheStorageListUpdated)
|
v = new(storage.EventCacheStorageListUpdated)
|
||||||
|
|
||||||
case cdp.EventStorageCacheStorageContentUpdated:
|
case cdp.EventStorageCacheStorageContentUpdated:
|
||||||
v = new(storage.EventCacheStorageContentUpdated)
|
v = new(storage.EventCacheStorageContentUpdated)
|
||||||
|
|
||||||
|
case cdp.EventStorageIndexedDBListUpdated:
|
||||||
|
v = new(storage.EventIndexedDBListUpdated)
|
||||||
|
|
||||||
|
case cdp.EventStorageIndexedDBContentUpdated:
|
||||||
|
v = new(storage.EventIndexedDBContentUpdated)
|
||||||
|
|
||||||
case cdp.CommandLogEnable:
|
case cdp.CommandLogEnable:
|
||||||
return emptyVal, nil
|
return emptyVal, nil
|
||||||
|
|
||||||
|
|
|
@ -396,6 +396,37 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLog4(in *jlexer.Lexer, out *En
|
||||||
out.NetworkRequestID = network.RequestID(in.String())
|
out.NetworkRequestID = network.RequestID(in.String())
|
||||||
case "workerId":
|
case "workerId":
|
||||||
out.WorkerID = string(in.String())
|
out.WorkerID = string(in.String())
|
||||||
|
case "args":
|
||||||
|
if in.IsNull() {
|
||||||
|
in.Skip()
|
||||||
|
out.Args = nil
|
||||||
|
} else {
|
||||||
|
in.Delim('[')
|
||||||
|
if out.Args == nil {
|
||||||
|
if !in.IsDelim(']') {
|
||||||
|
out.Args = make([]*runtime.RemoteObject, 0, 8)
|
||||||
|
} else {
|
||||||
|
out.Args = []*runtime.RemoteObject{}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
out.Args = (out.Args)[:0]
|
||||||
|
}
|
||||||
|
for !in.IsDelim(']') {
|
||||||
|
var v4 *runtime.RemoteObject
|
||||||
|
if in.IsNull() {
|
||||||
|
in.Skip()
|
||||||
|
v4 = nil
|
||||||
|
} else {
|
||||||
|
if v4 == nil {
|
||||||
|
v4 = new(runtime.RemoteObject)
|
||||||
|
}
|
||||||
|
(*v4).UnmarshalEasyJSON(in)
|
||||||
|
}
|
||||||
|
out.Args = append(out.Args, v4)
|
||||||
|
in.WantComma()
|
||||||
|
}
|
||||||
|
in.Delim(']')
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
in.SkipRecursive()
|
in.SkipRecursive()
|
||||||
}
|
}
|
||||||
|
@ -482,6 +513,29 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLog4(out *jwriter.Writer, in E
|
||||||
out.RawString("\"workerId\":")
|
out.RawString("\"workerId\":")
|
||||||
out.String(string(in.WorkerID))
|
out.String(string(in.WorkerID))
|
||||||
}
|
}
|
||||||
|
if len(in.Args) != 0 {
|
||||||
|
if !first {
|
||||||
|
out.RawByte(',')
|
||||||
|
}
|
||||||
|
first = false
|
||||||
|
out.RawString("\"args\":")
|
||||||
|
if in.Args == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
|
||||||
|
out.RawString("null")
|
||||||
|
} else {
|
||||||
|
out.RawByte('[')
|
||||||
|
for v5, v6 := range in.Args {
|
||||||
|
if v5 > 0 {
|
||||||
|
out.RawByte(',')
|
||||||
|
}
|
||||||
|
if v6 == nil {
|
||||||
|
out.RawString("null")
|
||||||
|
} else {
|
||||||
|
(*v6).MarshalEasyJSON(out)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
out.RawByte(']')
|
||||||
|
}
|
||||||
|
}
|
||||||
out.RawByte('}')
|
out.RawByte('}')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@ type Entry struct {
|
||||||
StackTrace *runtime.StackTrace `json:"stackTrace,omitempty"` // JavaScript stack trace.
|
StackTrace *runtime.StackTrace `json:"stackTrace,omitempty"` // JavaScript stack trace.
|
||||||
NetworkRequestID network.RequestID `json:"networkRequestId,omitempty"` // Identifier of the network request associated with this entry.
|
NetworkRequestID network.RequestID `json:"networkRequestId,omitempty"` // Identifier of the network request associated with this entry.
|
||||||
WorkerID string `json:"workerId,omitempty"` // Identifier of the worker associated with this entry.
|
WorkerID string `json:"workerId,omitempty"` // Identifier of the worker associated with this entry.
|
||||||
|
Args []*runtime.RemoteObject `json:"args,omitempty"` // Call arguments.
|
||||||
}
|
}
|
||||||
|
|
||||||
// ViolationSetting violation configuration setting.
|
// ViolationSetting violation configuration setting.
|
||||||
|
@ -52,6 +53,7 @@ const (
|
||||||
SourceWorker Source = "worker"
|
SourceWorker Source = "worker"
|
||||||
SourceViolation Source = "violation"
|
SourceViolation Source = "violation"
|
||||||
SourceIntervention Source = "intervention"
|
SourceIntervention Source = "intervention"
|
||||||
|
SourceRecommendation Source = "recommendation"
|
||||||
SourceOther Source = "other"
|
SourceOther Source = "other"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -90,6 +92,8 @@ func (t *Source) UnmarshalEasyJSON(in *jlexer.Lexer) {
|
||||||
*t = SourceViolation
|
*t = SourceViolation
|
||||||
case SourceIntervention:
|
case SourceIntervention:
|
||||||
*t = SourceIntervention
|
*t = SourceIntervention
|
||||||
|
case SourceRecommendation:
|
||||||
|
*t = SourceRecommendation
|
||||||
case SourceOther:
|
case SourceOther:
|
||||||
*t = SourceOther
|
*t = SourceOther
|
||||||
|
|
||||||
|
|
|
@ -92,7 +92,7 @@ func (v *UsageForType) UnmarshalJSON(data []byte) error {
|
||||||
func (v *UsageForType) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
func (v *UsageForType) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage(l, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage(l, v)
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage1(in *jlexer.Lexer, out *UntrackCacheStorageForOriginParams) {
|
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage1(in *jlexer.Lexer, out *UntrackIndexedDBForOriginParams) {
|
||||||
isTopLevel := in.IsStart()
|
isTopLevel := in.IsStart()
|
||||||
if in.IsNull() {
|
if in.IsNull() {
|
||||||
if isTopLevel {
|
if isTopLevel {
|
||||||
|
@ -123,7 +123,74 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage1(in *jlexer.Lexer, out
|
||||||
in.Consumed()
|
in.Consumed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage1(out *jwriter.Writer, in UntrackCacheStorageForOriginParams) {
|
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage1(out *jwriter.Writer, in UntrackIndexedDBForOriginParams) {
|
||||||
|
out.RawByte('{')
|
||||||
|
first := true
|
||||||
|
_ = first
|
||||||
|
if !first {
|
||||||
|
out.RawByte(',')
|
||||||
|
}
|
||||||
|
first = false
|
||||||
|
out.RawString("\"origin\":")
|
||||||
|
out.String(string(in.Origin))
|
||||||
|
out.RawByte('}')
|
||||||
|
}
|
||||||
|
|
||||||
|
// MarshalJSON supports json.Marshaler interface
|
||||||
|
func (v UntrackIndexedDBForOriginParams) MarshalJSON() ([]byte, error) {
|
||||||
|
w := jwriter.Writer{}
|
||||||
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage1(&w, v)
|
||||||
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
|
}
|
||||||
|
|
||||||
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
|
func (v UntrackIndexedDBForOriginParams) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage1(w, v)
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnmarshalJSON supports json.Unmarshaler interface
|
||||||
|
func (v *UntrackIndexedDBForOriginParams) UnmarshalJSON(data []byte) error {
|
||||||
|
r := jlexer.Lexer{Data: data}
|
||||||
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage1(&r, v)
|
||||||
|
return r.Error()
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
||||||
|
func (v *UntrackIndexedDBForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
||||||
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage1(l, v)
|
||||||
|
}
|
||||||
|
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage2(in *jlexer.Lexer, out *UntrackCacheStorageForOriginParams) {
|
||||||
|
isTopLevel := in.IsStart()
|
||||||
|
if in.IsNull() {
|
||||||
|
if isTopLevel {
|
||||||
|
in.Consumed()
|
||||||
|
}
|
||||||
|
in.Skip()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
in.Delim('{')
|
||||||
|
for !in.IsDelim('}') {
|
||||||
|
key := in.UnsafeString()
|
||||||
|
in.WantColon()
|
||||||
|
if in.IsNull() {
|
||||||
|
in.Skip()
|
||||||
|
in.WantComma()
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
switch key {
|
||||||
|
case "origin":
|
||||||
|
out.Origin = string(in.String())
|
||||||
|
default:
|
||||||
|
in.SkipRecursive()
|
||||||
|
}
|
||||||
|
in.WantComma()
|
||||||
|
}
|
||||||
|
in.Delim('}')
|
||||||
|
if isTopLevel {
|
||||||
|
in.Consumed()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage2(out *jwriter.Writer, in UntrackCacheStorageForOriginParams) {
|
||||||
out.RawByte('{')
|
out.RawByte('{')
|
||||||
first := true
|
first := true
|
||||||
_ = first
|
_ = first
|
||||||
|
@ -139,27 +206,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage1(out *jwriter.Writer,
|
||||||
// MarshalJSON supports json.Marshaler interface
|
// MarshalJSON supports json.Marshaler interface
|
||||||
func (v UntrackCacheStorageForOriginParams) MarshalJSON() ([]byte, error) {
|
func (v UntrackCacheStorageForOriginParams) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{}
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage1(&w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage2(&w, v)
|
||||||
return w.Buffer.BuildBytes(), w.Error
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalEasyJSON supports easyjson.Marshaler interface
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
func (v UntrackCacheStorageForOriginParams) MarshalEasyJSON(w *jwriter.Writer) {
|
func (v UntrackCacheStorageForOriginParams) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage1(w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage2(w, v)
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalJSON supports json.Unmarshaler interface
|
// UnmarshalJSON supports json.Unmarshaler interface
|
||||||
func (v *UntrackCacheStorageForOriginParams) UnmarshalJSON(data []byte) error {
|
func (v *UntrackCacheStorageForOriginParams) UnmarshalJSON(data []byte) error {
|
||||||
r := jlexer.Lexer{Data: data}
|
r := jlexer.Lexer{Data: data}
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage1(&r, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage2(&r, v)
|
||||||
return r.Error()
|
return r.Error()
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
||||||
func (v *UntrackCacheStorageForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
func (v *UntrackCacheStorageForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage1(l, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage2(l, v)
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage2(in *jlexer.Lexer, out *TrackCacheStorageForOriginParams) {
|
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage3(in *jlexer.Lexer, out *TrackIndexedDBForOriginParams) {
|
||||||
isTopLevel := in.IsStart()
|
isTopLevel := in.IsStart()
|
||||||
if in.IsNull() {
|
if in.IsNull() {
|
||||||
if isTopLevel {
|
if isTopLevel {
|
||||||
|
@ -190,7 +257,74 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage2(in *jlexer.Lexer, out
|
||||||
in.Consumed()
|
in.Consumed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage2(out *jwriter.Writer, in TrackCacheStorageForOriginParams) {
|
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage3(out *jwriter.Writer, in TrackIndexedDBForOriginParams) {
|
||||||
|
out.RawByte('{')
|
||||||
|
first := true
|
||||||
|
_ = first
|
||||||
|
if !first {
|
||||||
|
out.RawByte(',')
|
||||||
|
}
|
||||||
|
first = false
|
||||||
|
out.RawString("\"origin\":")
|
||||||
|
out.String(string(in.Origin))
|
||||||
|
out.RawByte('}')
|
||||||
|
}
|
||||||
|
|
||||||
|
// MarshalJSON supports json.Marshaler interface
|
||||||
|
func (v TrackIndexedDBForOriginParams) MarshalJSON() ([]byte, error) {
|
||||||
|
w := jwriter.Writer{}
|
||||||
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage3(&w, v)
|
||||||
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
|
}
|
||||||
|
|
||||||
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
|
func (v TrackIndexedDBForOriginParams) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage3(w, v)
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnmarshalJSON supports json.Unmarshaler interface
|
||||||
|
func (v *TrackIndexedDBForOriginParams) UnmarshalJSON(data []byte) error {
|
||||||
|
r := jlexer.Lexer{Data: data}
|
||||||
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage3(&r, v)
|
||||||
|
return r.Error()
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
||||||
|
func (v *TrackIndexedDBForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
||||||
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage3(l, v)
|
||||||
|
}
|
||||||
|
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage4(in *jlexer.Lexer, out *TrackCacheStorageForOriginParams) {
|
||||||
|
isTopLevel := in.IsStart()
|
||||||
|
if in.IsNull() {
|
||||||
|
if isTopLevel {
|
||||||
|
in.Consumed()
|
||||||
|
}
|
||||||
|
in.Skip()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
in.Delim('{')
|
||||||
|
for !in.IsDelim('}') {
|
||||||
|
key := in.UnsafeString()
|
||||||
|
in.WantColon()
|
||||||
|
if in.IsNull() {
|
||||||
|
in.Skip()
|
||||||
|
in.WantComma()
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
switch key {
|
||||||
|
case "origin":
|
||||||
|
out.Origin = string(in.String())
|
||||||
|
default:
|
||||||
|
in.SkipRecursive()
|
||||||
|
}
|
||||||
|
in.WantComma()
|
||||||
|
}
|
||||||
|
in.Delim('}')
|
||||||
|
if isTopLevel {
|
||||||
|
in.Consumed()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage4(out *jwriter.Writer, in TrackCacheStorageForOriginParams) {
|
||||||
out.RawByte('{')
|
out.RawByte('{')
|
||||||
first := true
|
first := true
|
||||||
_ = first
|
_ = first
|
||||||
|
@ -206,27 +340,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage2(out *jwriter.Writer,
|
||||||
// MarshalJSON supports json.Marshaler interface
|
// MarshalJSON supports json.Marshaler interface
|
||||||
func (v TrackCacheStorageForOriginParams) MarshalJSON() ([]byte, error) {
|
func (v TrackCacheStorageForOriginParams) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{}
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage2(&w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage4(&w, v)
|
||||||
return w.Buffer.BuildBytes(), w.Error
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalEasyJSON supports easyjson.Marshaler interface
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
func (v TrackCacheStorageForOriginParams) MarshalEasyJSON(w *jwriter.Writer) {
|
func (v TrackCacheStorageForOriginParams) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage2(w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage4(w, v)
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalJSON supports json.Unmarshaler interface
|
// UnmarshalJSON supports json.Unmarshaler interface
|
||||||
func (v *TrackCacheStorageForOriginParams) UnmarshalJSON(data []byte) error {
|
func (v *TrackCacheStorageForOriginParams) UnmarshalJSON(data []byte) error {
|
||||||
r := jlexer.Lexer{Data: data}
|
r := jlexer.Lexer{Data: data}
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage2(&r, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage4(&r, v)
|
||||||
return r.Error()
|
return r.Error()
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
||||||
func (v *TrackCacheStorageForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
func (v *TrackCacheStorageForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage2(l, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage4(l, v)
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage3(in *jlexer.Lexer, out *GetUsageAndQuotaReturns) {
|
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage5(in *jlexer.Lexer, out *GetUsageAndQuotaReturns) {
|
||||||
isTopLevel := in.IsStart()
|
isTopLevel := in.IsStart()
|
||||||
if in.IsNull() {
|
if in.IsNull() {
|
||||||
if isTopLevel {
|
if isTopLevel {
|
||||||
|
@ -290,7 +424,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage3(in *jlexer.Lexer, out
|
||||||
in.Consumed()
|
in.Consumed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage3(out *jwriter.Writer, in GetUsageAndQuotaReturns) {
|
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage5(out *jwriter.Writer, in GetUsageAndQuotaReturns) {
|
||||||
out.RawByte('{')
|
out.RawByte('{')
|
||||||
first := true
|
first := true
|
||||||
_ = first
|
_ = first
|
||||||
|
@ -339,27 +473,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage3(out *jwriter.Writer,
|
||||||
// MarshalJSON supports json.Marshaler interface
|
// MarshalJSON supports json.Marshaler interface
|
||||||
func (v GetUsageAndQuotaReturns) MarshalJSON() ([]byte, error) {
|
func (v GetUsageAndQuotaReturns) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{}
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage3(&w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage5(&w, v)
|
||||||
return w.Buffer.BuildBytes(), w.Error
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalEasyJSON supports easyjson.Marshaler interface
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
func (v GetUsageAndQuotaReturns) MarshalEasyJSON(w *jwriter.Writer) {
|
func (v GetUsageAndQuotaReturns) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage3(w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage5(w, v)
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalJSON supports json.Unmarshaler interface
|
// UnmarshalJSON supports json.Unmarshaler interface
|
||||||
func (v *GetUsageAndQuotaReturns) UnmarshalJSON(data []byte) error {
|
func (v *GetUsageAndQuotaReturns) UnmarshalJSON(data []byte) error {
|
||||||
r := jlexer.Lexer{Data: data}
|
r := jlexer.Lexer{Data: data}
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage3(&r, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage5(&r, v)
|
||||||
return r.Error()
|
return r.Error()
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
||||||
func (v *GetUsageAndQuotaReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
func (v *GetUsageAndQuotaReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage3(l, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage5(l, v)
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage4(in *jlexer.Lexer, out *GetUsageAndQuotaParams) {
|
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage6(in *jlexer.Lexer, out *GetUsageAndQuotaParams) {
|
||||||
isTopLevel := in.IsStart()
|
isTopLevel := in.IsStart()
|
||||||
if in.IsNull() {
|
if in.IsNull() {
|
||||||
if isTopLevel {
|
if isTopLevel {
|
||||||
|
@ -390,7 +524,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage4(in *jlexer.Lexer, out
|
||||||
in.Consumed()
|
in.Consumed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage4(out *jwriter.Writer, in GetUsageAndQuotaParams) {
|
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage6(out *jwriter.Writer, in GetUsageAndQuotaParams) {
|
||||||
out.RawByte('{')
|
out.RawByte('{')
|
||||||
first := true
|
first := true
|
||||||
_ = first
|
_ = first
|
||||||
|
@ -406,27 +540,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage4(out *jwriter.Writer,
|
||||||
// MarshalJSON supports json.Marshaler interface
|
// MarshalJSON supports json.Marshaler interface
|
||||||
func (v GetUsageAndQuotaParams) MarshalJSON() ([]byte, error) {
|
func (v GetUsageAndQuotaParams) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{}
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage4(&w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage6(&w, v)
|
||||||
return w.Buffer.BuildBytes(), w.Error
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalEasyJSON supports easyjson.Marshaler interface
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
func (v GetUsageAndQuotaParams) MarshalEasyJSON(w *jwriter.Writer) {
|
func (v GetUsageAndQuotaParams) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage4(w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage6(w, v)
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalJSON supports json.Unmarshaler interface
|
// UnmarshalJSON supports json.Unmarshaler interface
|
||||||
func (v *GetUsageAndQuotaParams) UnmarshalJSON(data []byte) error {
|
func (v *GetUsageAndQuotaParams) UnmarshalJSON(data []byte) error {
|
||||||
r := jlexer.Lexer{Data: data}
|
r := jlexer.Lexer{Data: data}
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage4(&r, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage6(&r, v)
|
||||||
return r.Error()
|
return r.Error()
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
||||||
func (v *GetUsageAndQuotaParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
func (v *GetUsageAndQuotaParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage4(l, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage6(l, v)
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage5(in *jlexer.Lexer, out *EventCacheStorageListUpdated) {
|
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage7(in *jlexer.Lexer, out *EventIndexedDBListUpdated) {
|
||||||
isTopLevel := in.IsStart()
|
isTopLevel := in.IsStart()
|
||||||
if in.IsNull() {
|
if in.IsNull() {
|
||||||
if isTopLevel {
|
if isTopLevel {
|
||||||
|
@ -457,7 +591,157 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage5(in *jlexer.Lexer, out
|
||||||
in.Consumed()
|
in.Consumed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage5(out *jwriter.Writer, in EventCacheStorageListUpdated) {
|
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage7(out *jwriter.Writer, in EventIndexedDBListUpdated) {
|
||||||
|
out.RawByte('{')
|
||||||
|
first := true
|
||||||
|
_ = first
|
||||||
|
if !first {
|
||||||
|
out.RawByte(',')
|
||||||
|
}
|
||||||
|
first = false
|
||||||
|
out.RawString("\"origin\":")
|
||||||
|
out.String(string(in.Origin))
|
||||||
|
out.RawByte('}')
|
||||||
|
}
|
||||||
|
|
||||||
|
// MarshalJSON supports json.Marshaler interface
|
||||||
|
func (v EventIndexedDBListUpdated) MarshalJSON() ([]byte, error) {
|
||||||
|
w := jwriter.Writer{}
|
||||||
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage7(&w, v)
|
||||||
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
|
}
|
||||||
|
|
||||||
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
|
func (v EventIndexedDBListUpdated) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage7(w, v)
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnmarshalJSON supports json.Unmarshaler interface
|
||||||
|
func (v *EventIndexedDBListUpdated) UnmarshalJSON(data []byte) error {
|
||||||
|
r := jlexer.Lexer{Data: data}
|
||||||
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage7(&r, v)
|
||||||
|
return r.Error()
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
||||||
|
func (v *EventIndexedDBListUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
||||||
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage7(l, v)
|
||||||
|
}
|
||||||
|
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage8(in *jlexer.Lexer, out *EventIndexedDBContentUpdated) {
|
||||||
|
isTopLevel := in.IsStart()
|
||||||
|
if in.IsNull() {
|
||||||
|
if isTopLevel {
|
||||||
|
in.Consumed()
|
||||||
|
}
|
||||||
|
in.Skip()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
in.Delim('{')
|
||||||
|
for !in.IsDelim('}') {
|
||||||
|
key := in.UnsafeString()
|
||||||
|
in.WantColon()
|
||||||
|
if in.IsNull() {
|
||||||
|
in.Skip()
|
||||||
|
in.WantComma()
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
switch key {
|
||||||
|
case "origin":
|
||||||
|
out.Origin = string(in.String())
|
||||||
|
case "databaseName":
|
||||||
|
out.DatabaseName = string(in.String())
|
||||||
|
case "objectStoreName":
|
||||||
|
out.ObjectStoreName = string(in.String())
|
||||||
|
default:
|
||||||
|
in.SkipRecursive()
|
||||||
|
}
|
||||||
|
in.WantComma()
|
||||||
|
}
|
||||||
|
in.Delim('}')
|
||||||
|
if isTopLevel {
|
||||||
|
in.Consumed()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage8(out *jwriter.Writer, in EventIndexedDBContentUpdated) {
|
||||||
|
out.RawByte('{')
|
||||||
|
first := true
|
||||||
|
_ = first
|
||||||
|
if !first {
|
||||||
|
out.RawByte(',')
|
||||||
|
}
|
||||||
|
first = false
|
||||||
|
out.RawString("\"origin\":")
|
||||||
|
out.String(string(in.Origin))
|
||||||
|
if !first {
|
||||||
|
out.RawByte(',')
|
||||||
|
}
|
||||||
|
first = false
|
||||||
|
out.RawString("\"databaseName\":")
|
||||||
|
out.String(string(in.DatabaseName))
|
||||||
|
if !first {
|
||||||
|
out.RawByte(',')
|
||||||
|
}
|
||||||
|
first = false
|
||||||
|
out.RawString("\"objectStoreName\":")
|
||||||
|
out.String(string(in.ObjectStoreName))
|
||||||
|
out.RawByte('}')
|
||||||
|
}
|
||||||
|
|
||||||
|
// MarshalJSON supports json.Marshaler interface
|
||||||
|
func (v EventIndexedDBContentUpdated) MarshalJSON() ([]byte, error) {
|
||||||
|
w := jwriter.Writer{}
|
||||||
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage8(&w, v)
|
||||||
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
|
}
|
||||||
|
|
||||||
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
|
func (v EventIndexedDBContentUpdated) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage8(w, v)
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnmarshalJSON supports json.Unmarshaler interface
|
||||||
|
func (v *EventIndexedDBContentUpdated) UnmarshalJSON(data []byte) error {
|
||||||
|
r := jlexer.Lexer{Data: data}
|
||||||
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage8(&r, v)
|
||||||
|
return r.Error()
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
||||||
|
func (v *EventIndexedDBContentUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
||||||
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage8(l, v)
|
||||||
|
}
|
||||||
|
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage9(in *jlexer.Lexer, out *EventCacheStorageListUpdated) {
|
||||||
|
isTopLevel := in.IsStart()
|
||||||
|
if in.IsNull() {
|
||||||
|
if isTopLevel {
|
||||||
|
in.Consumed()
|
||||||
|
}
|
||||||
|
in.Skip()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
in.Delim('{')
|
||||||
|
for !in.IsDelim('}') {
|
||||||
|
key := in.UnsafeString()
|
||||||
|
in.WantColon()
|
||||||
|
if in.IsNull() {
|
||||||
|
in.Skip()
|
||||||
|
in.WantComma()
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
switch key {
|
||||||
|
case "origin":
|
||||||
|
out.Origin = string(in.String())
|
||||||
|
default:
|
||||||
|
in.SkipRecursive()
|
||||||
|
}
|
||||||
|
in.WantComma()
|
||||||
|
}
|
||||||
|
in.Delim('}')
|
||||||
|
if isTopLevel {
|
||||||
|
in.Consumed()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage9(out *jwriter.Writer, in EventCacheStorageListUpdated) {
|
||||||
out.RawByte('{')
|
out.RawByte('{')
|
||||||
first := true
|
first := true
|
||||||
_ = first
|
_ = first
|
||||||
|
@ -473,27 +757,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage5(out *jwriter.Writer,
|
||||||
// MarshalJSON supports json.Marshaler interface
|
// MarshalJSON supports json.Marshaler interface
|
||||||
func (v EventCacheStorageListUpdated) MarshalJSON() ([]byte, error) {
|
func (v EventCacheStorageListUpdated) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{}
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage5(&w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage9(&w, v)
|
||||||
return w.Buffer.BuildBytes(), w.Error
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalEasyJSON supports easyjson.Marshaler interface
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
func (v EventCacheStorageListUpdated) MarshalEasyJSON(w *jwriter.Writer) {
|
func (v EventCacheStorageListUpdated) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage5(w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage9(w, v)
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalJSON supports json.Unmarshaler interface
|
// UnmarshalJSON supports json.Unmarshaler interface
|
||||||
func (v *EventCacheStorageListUpdated) UnmarshalJSON(data []byte) error {
|
func (v *EventCacheStorageListUpdated) UnmarshalJSON(data []byte) error {
|
||||||
r := jlexer.Lexer{Data: data}
|
r := jlexer.Lexer{Data: data}
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage5(&r, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage9(&r, v)
|
||||||
return r.Error()
|
return r.Error()
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
||||||
func (v *EventCacheStorageListUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
func (v *EventCacheStorageListUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage5(l, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage9(l, v)
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage6(in *jlexer.Lexer, out *EventCacheStorageContentUpdated) {
|
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage10(in *jlexer.Lexer, out *EventCacheStorageContentUpdated) {
|
||||||
isTopLevel := in.IsStart()
|
isTopLevel := in.IsStart()
|
||||||
if in.IsNull() {
|
if in.IsNull() {
|
||||||
if isTopLevel {
|
if isTopLevel {
|
||||||
|
@ -526,7 +810,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage6(in *jlexer.Lexer, out
|
||||||
in.Consumed()
|
in.Consumed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage6(out *jwriter.Writer, in EventCacheStorageContentUpdated) {
|
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage10(out *jwriter.Writer, in EventCacheStorageContentUpdated) {
|
||||||
out.RawByte('{')
|
out.RawByte('{')
|
||||||
first := true
|
first := true
|
||||||
_ = first
|
_ = first
|
||||||
|
@ -548,27 +832,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage6(out *jwriter.Writer,
|
||||||
// MarshalJSON supports json.Marshaler interface
|
// MarshalJSON supports json.Marshaler interface
|
||||||
func (v EventCacheStorageContentUpdated) MarshalJSON() ([]byte, error) {
|
func (v EventCacheStorageContentUpdated) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{}
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage6(&w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage10(&w, v)
|
||||||
return w.Buffer.BuildBytes(), w.Error
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalEasyJSON supports easyjson.Marshaler interface
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
func (v EventCacheStorageContentUpdated) MarshalEasyJSON(w *jwriter.Writer) {
|
func (v EventCacheStorageContentUpdated) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage6(w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage10(w, v)
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalJSON supports json.Unmarshaler interface
|
// UnmarshalJSON supports json.Unmarshaler interface
|
||||||
func (v *EventCacheStorageContentUpdated) UnmarshalJSON(data []byte) error {
|
func (v *EventCacheStorageContentUpdated) UnmarshalJSON(data []byte) error {
|
||||||
r := jlexer.Lexer{Data: data}
|
r := jlexer.Lexer{Data: data}
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage6(&r, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage10(&r, v)
|
||||||
return r.Error()
|
return r.Error()
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
||||||
func (v *EventCacheStorageContentUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
func (v *EventCacheStorageContentUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage6(l, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage10(l, v)
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage7(in *jlexer.Lexer, out *ClearDataForOriginParams) {
|
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage11(in *jlexer.Lexer, out *ClearDataForOriginParams) {
|
||||||
isTopLevel := in.IsStart()
|
isTopLevel := in.IsStart()
|
||||||
if in.IsNull() {
|
if in.IsNull() {
|
||||||
if isTopLevel {
|
if isTopLevel {
|
||||||
|
@ -601,7 +885,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage7(in *jlexer.Lexer, out
|
||||||
in.Consumed()
|
in.Consumed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage7(out *jwriter.Writer, in ClearDataForOriginParams) {
|
func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage11(out *jwriter.Writer, in ClearDataForOriginParams) {
|
||||||
out.RawByte('{')
|
out.RawByte('{')
|
||||||
first := true
|
first := true
|
||||||
_ = first
|
_ = first
|
||||||
|
@ -623,23 +907,23 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage7(out *jwriter.Writer,
|
||||||
// MarshalJSON supports json.Marshaler interface
|
// MarshalJSON supports json.Marshaler interface
|
||||||
func (v ClearDataForOriginParams) MarshalJSON() ([]byte, error) {
|
func (v ClearDataForOriginParams) MarshalJSON() ([]byte, error) {
|
||||||
w := jwriter.Writer{}
|
w := jwriter.Writer{}
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage7(&w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage11(&w, v)
|
||||||
return w.Buffer.BuildBytes(), w.Error
|
return w.Buffer.BuildBytes(), w.Error
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalEasyJSON supports easyjson.Marshaler interface
|
// MarshalEasyJSON supports easyjson.Marshaler interface
|
||||||
func (v ClearDataForOriginParams) MarshalEasyJSON(w *jwriter.Writer) {
|
func (v ClearDataForOriginParams) MarshalEasyJSON(w *jwriter.Writer) {
|
||||||
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage7(w, v)
|
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpStorage11(w, v)
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalJSON supports json.Unmarshaler interface
|
// UnmarshalJSON supports json.Unmarshaler interface
|
||||||
func (v *ClearDataForOriginParams) UnmarshalJSON(data []byte) error {
|
func (v *ClearDataForOriginParams) UnmarshalJSON(data []byte) error {
|
||||||
r := jlexer.Lexer{Data: data}
|
r := jlexer.Lexer{Data: data}
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage7(&r, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage11(&r, v)
|
||||||
return r.Error()
|
return r.Error()
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
|
||||||
func (v *ClearDataForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
func (v *ClearDataForOriginParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
|
||||||
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage7(l, v)
|
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpStorage11(l, v)
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,8 +17,24 @@ type EventCacheStorageContentUpdated struct {
|
||||||
CacheName string `json:"cacheName"` // Name of cache in origin.
|
CacheName string `json:"cacheName"` // Name of cache in origin.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// EventIndexedDBListUpdated the origin's IndexedDB database list has been
|
||||||
|
// modified.
|
||||||
|
type EventIndexedDBListUpdated struct {
|
||||||
|
Origin string `json:"origin"` // Origin to update.
|
||||||
|
}
|
||||||
|
|
||||||
|
// EventIndexedDBContentUpdated the origin's IndexedDB object store has been
|
||||||
|
// modified.
|
||||||
|
type EventIndexedDBContentUpdated struct {
|
||||||
|
Origin string `json:"origin"` // Origin to update.
|
||||||
|
DatabaseName string `json:"databaseName"` // Database to update.
|
||||||
|
ObjectStoreName string `json:"objectStoreName"` // ObjectStore to update.
|
||||||
|
}
|
||||||
|
|
||||||
// EventTypes all event types in the domain.
|
// EventTypes all event types in the domain.
|
||||||
var EventTypes = []cdp.MethodType{
|
var EventTypes = []cdp.MethodType{
|
||||||
cdp.EventStorageCacheStorageListUpdated,
|
cdp.EventStorageCacheStorageListUpdated,
|
||||||
cdp.EventStorageCacheStorageContentUpdated,
|
cdp.EventStorageCacheStorageContentUpdated,
|
||||||
|
cdp.EventStorageIndexedDBListUpdated,
|
||||||
|
cdp.EventStorageIndexedDBContentUpdated,
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,3 +121,49 @@ func UntrackCacheStorageForOrigin(origin string) *UntrackCacheStorageForOriginPa
|
||||||
func (p *UntrackCacheStorageForOriginParams) Do(ctxt context.Context, h cdp.Handler) (err error) {
|
func (p *UntrackCacheStorageForOriginParams) Do(ctxt context.Context, h cdp.Handler) (err error) {
|
||||||
return h.Execute(ctxt, cdp.CommandStorageUntrackCacheStorageForOrigin, p, nil)
|
return h.Execute(ctxt, cdp.CommandStorageUntrackCacheStorageForOrigin, p, nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TrackIndexedDBForOriginParams registers origin to be notified when an
|
||||||
|
// update occurs to its IndexedDB.
|
||||||
|
type TrackIndexedDBForOriginParams struct {
|
||||||
|
Origin string `json:"origin"` // Security origin.
|
||||||
|
}
|
||||||
|
|
||||||
|
// TrackIndexedDBForOrigin registers origin to be notified when an update
|
||||||
|
// occurs to its IndexedDB.
|
||||||
|
//
|
||||||
|
// parameters:
|
||||||
|
// origin - Security origin.
|
||||||
|
func TrackIndexedDBForOrigin(origin string) *TrackIndexedDBForOriginParams {
|
||||||
|
return &TrackIndexedDBForOriginParams{
|
||||||
|
Origin: origin,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Do executes Storage.trackIndexedDBForOrigin against the provided context and
|
||||||
|
// target handler.
|
||||||
|
func (p *TrackIndexedDBForOriginParams) Do(ctxt context.Context, h cdp.Handler) (err error) {
|
||||||
|
return h.Execute(ctxt, cdp.CommandStorageTrackIndexedDBForOrigin, p, nil)
|
||||||
|
}
|
||||||
|
|
||||||
|
// UntrackIndexedDBForOriginParams unregisters origin from receiving
|
||||||
|
// notifications for IndexedDB.
|
||||||
|
type UntrackIndexedDBForOriginParams struct {
|
||||||
|
Origin string `json:"origin"` // Security origin.
|
||||||
|
}
|
||||||
|
|
||||||
|
// UntrackIndexedDBForOrigin unregisters origin from receiving notifications
|
||||||
|
// for IndexedDB.
|
||||||
|
//
|
||||||
|
// parameters:
|
||||||
|
// origin - Security origin.
|
||||||
|
func UntrackIndexedDBForOrigin(origin string) *UntrackIndexedDBForOriginParams {
|
||||||
|
return &UntrackIndexedDBForOriginParams{
|
||||||
|
Origin: origin,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Do executes Storage.untrackIndexedDBForOrigin against the provided context and
|
||||||
|
// target handler.
|
||||||
|
func (p *UntrackIndexedDBForOriginParams) Do(ctxt context.Context, h cdp.Handler) (err error) {
|
||||||
|
return h.Execute(ctxt, cdp.CommandStorageUntrackIndexedDBForOrigin, p, nil)
|
||||||
|
}
|
||||||
|
|
|
@ -11239,6 +11239,28 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Unregisters origin from receiving notifications for cache storage."
|
"description": "Unregisters origin from receiving notifications for cache storage."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "trackIndexedDBForOrigin",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"name": "origin",
|
||||||
|
"type": "string",
|
||||||
|
"description": "Security origin."
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Registers origin to be notified when an update occurs to its IndexedDB."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "untrackIndexedDBForOrigin",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"name": "origin",
|
||||||
|
"type": "string",
|
||||||
|
"description": "Security origin."
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Unregisters origin from receiving notifications for IndexedDB."
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"events": [
|
"events": [
|
||||||
|
@ -11268,6 +11290,38 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "A cache's contents have been modified."
|
"description": "A cache's contents have been modified."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "indexedDBListUpdated",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"name": "origin",
|
||||||
|
"type": "string",
|
||||||
|
"description": "Origin to update."
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "The origin's IndexedDB database list has been modified."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "indexedDBContentUpdated",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"name": "origin",
|
||||||
|
"type": "string",
|
||||||
|
"description": "Origin to update."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "databaseName",
|
||||||
|
"type": "string",
|
||||||
|
"description": "Database to update."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "objectStoreName",
|
||||||
|
"type": "string",
|
||||||
|
"description": "ObjectStore to update."
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "The origin's IndexedDB object store has been modified."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -11300,6 +11354,7 @@
|
||||||
"worker",
|
"worker",
|
||||||
"violation",
|
"violation",
|
||||||
"intervention",
|
"intervention",
|
||||||
|
"recommendation",
|
||||||
"other"
|
"other"
|
||||||
],
|
],
|
||||||
"description": "Log entry source."
|
"description": "Log entry source."
|
||||||
|
@ -11354,6 +11409,15 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"description": "Identifier of the worker associated with this entry."
|
"description": "Identifier of the worker associated with this entry."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "args",
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "Runtime.RemoteObject"
|
||||||
|
},
|
||||||
|
"optional": true,
|
||||||
|
"description": "Call arguments."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user