id
stringlengths
2
7
text
stringlengths
17
51.2k
title
stringclasses
1 value
c19000
new(UnregisterArgs) args.ScopeURL = scopeURL return args }
c19001
new(UpdateRegistrationArgs) args.ScopeURL = scopeURL return args }
c19002
= rpcc.Invoke(ctx, "ApplicationCache.getApplicationCacheForFrame", nil, reply, d.conn) } if err != nil { err = &internal.OpError{Domain: "ApplicationCache", Op: "GetApplicationCacheForFrame", Err: err} } return }
c19003
rpcc.Invoke(ctx, "ApplicationCache.getManifestForFrame", args, reply, d.conn) } else { err = rpcc.Invoke(ctx, "ApplicationCache.getManifestForFrame", nil, reply, d.conn) } if err != nil { err = &internal.OpError{Domain: "ApplicationCache", Op: "GetManifestForFrame", Err: err} } return }
c19004
args.DatabaseName = databaseName args.ObjectStoreName = objectStoreName return args }
c19005
{ args := new(DeleteDatabaseArgs) args.SecurityOrigin = securityOrigin args.DatabaseName = databaseName return args }
c19006
args.DatabaseName = databaseName args.ObjectStoreName = objectStoreName args.KeyRange = keyRange return args }
c19007
= databaseName args.ObjectStoreName = objectStoreName args.IndexName = indexName args.SkipCount = skipCount args.PageSize = pageSize return args }
c19008
a.KeyRange = &keyRange return a }
c19009
args.DatabaseName = databaseName args.ObjectStoreName = objectStoreName return args }
c19010
{ args := new(RequestDatabaseArgs) args.SecurityOrigin = securityOrigin args.DatabaseName = databaseName return args }
c19011
new(RequestDatabaseNamesArgs) args.SecurityOrigin = securityOrigin return args }
c19012
new(CloseArgs) args.Handle = handle return args }
c19013
new(ReadArgs) args.Handle = handle return args }
c19014
new(ResolveBlobArgs) args.ObjectID = objectID return args }
c19015
new(ContinueInterceptedRequestArgs) args.InterceptionID = interceptionID return args }
c19016
ErrorReason) *ContinueInterceptedRequestArgs { a.ErrorReason = errorReason return a }
c19017
string) *ContinueInterceptedRequestArgs { a.RawResponse = &rawResponse return a }
c19018
string) *ContinueInterceptedRequestArgs { a.URL = &url return a }
c19019
string) *ContinueInterceptedRequestArgs { a.Method = &method return a }
c19020
string) *ContinueInterceptedRequestArgs { a.PostData = &postData return a }
c19021
Headers) *ContinueInterceptedRequestArgs { a.Headers = headers return a }
c19022
AuthChallengeResponse) *ContinueInterceptedRequestArgs { a.AuthChallengeResponse = &authChallengeResponse return a }
c19023
new(DeleteCookiesArgs) args.Name = name return args }
c19024
{ a.URL = &url return a }
c19025
string) *DeleteCookiesArgs { a.Domain = &domain return a }
c19026
{ a.Path = &path return a }
c19027
args.Latency = latency args.DownloadThroughput = downloadThroughput args.UploadThroughput = uploadThroughput return args }
c19028
ConnectionType) *EmulateNetworkConditionsArgs { a.ConnectionType = connectionType return a }
c19029
new(GetCertificateArgs) args.Origin = origin return args }
c19030
{ a.URLs = urls return a }
c19031
new(GetResponseBodyArgs) args.RequestID = requestID return args }
c19032
new(GetRequestPostDataArgs) args.RequestID = requestID return args }
c19033
new(GetResponseBodyForInterceptionArgs) args.InterceptionID = interceptionID return args }
c19034
new(TakeResponseBodyForInterceptionAsStreamArgs) args.InterceptionID = interceptionID return args }
c19035
new(ReplayXHRArgs) args.RequestID = requestID return args }
c19036
new(SearchInResponseBodyArgs) args.RequestID = requestID args.Query = query return args }
c19037
new(SetBlockedURLsArgs) args.URLs = urls return args }
c19038
new(SetBypassServiceWorkerArgs) args.Bypass = bypass return args }
c19039
new(SetCacheDisabledArgs) args.CacheDisabled = cacheDisabled return args }
c19040
new(SetCookieArgs) args.Name = name args.Value = value return args }
c19041
string) *SetCookieArgs { a.URL = &url return a }
c19042
a.Domain = &domain return a }
c19043
a.Path = &path return a }
c19044
a.Secure = &secure return a }
c19045
a.HTTPOnly = &httpOnly return a }
c19046
a.SameSite = sameSite return a }
c19047
a.Expires = expires return a }
c19048
new(SetCookiesArgs) args.Cookies = cookies return args }
c19049
new(SetExtraHTTPHeadersArgs) args.Headers = headers return args }
c19050
new(SetRequestInterceptionArgs) args.Patterns = patterns return args }
c19051
new(SetSamplingIntervalArgs) args.Interval = interval return args }
c19052
{ a.CallCount = &callCount return a }
c19053
{ a.Detailed = &detailed return a }
c19054
to: "IDRef"}, } { should = replace.re.ReplaceAllString(should, fmt.Sprintf("${1}%s${2}", replace.to)) } return should }
c19055
new(StartObservingArgs) args.Service = service return args }
c19056
new(StopObservingArgs) args.Service = service return args }
c19057
new(SetRecordingArgs) args.ShouldRecord = shouldRecord args.Service = service return args }
c19058
new(ClearEventsArgs) args.Service = service return args }
c19059
func(o *dialOptions) { o.codec = f } }
c19060
{ return func(o *dialOptions) { o.wsDialer.TLSClientConfig = c } }
c19061
c.compressionLevel = wsConn.SetCompressionLevel } return &wsReadWriteCloser{wsConn: wsConn}, nil } } c.conn, err = netDial(ctx, target) if err != nil { return nil, err } newCodec := c.dialOpts.codec if newCodec == nil { newCodec = func(conn io.ReadWriter) Codec { return &jsonCodec{ enc: js...
c19062
if enableDebug { log.Println("rpcc: no pending call: " + resp.String()) } case resp.Error != nil: call.done(resp.Error) default: var err error if call.Reply != nil { if err = json.Unmarshal(resp.Result, call.Reply); err != nil { err = fmt.Errorf("rpcc: decoding %s: %s", call.Method, err.E...
c19063
= nil c.reqMu.Unlock() done <- err }() // Abort on user or connection cancellation. select { case <-ctx.Done(): err = ctx.Err() case err = <-done: } if err != nil { // Remove reference on error, avoid // unnecessary work in recv. c.mu.Lock() delete(c.pending, reqID) c.mu.Unlock() return err ...
c19064
writes // even after it has been removed (unsubscribed). stream.write(method, data) } }
c19065
new(SetIgnoreCertificateErrorsArgs) args.Ignore = ignore return args }
c19066
new(HandleCertificateErrorArgs) args.EventID = eventID args.Action = action return args }
c19067
new(SetOverrideCertificateErrorsArgs) args.Override = override return args }
c19068
"Animation.getCurrentTime", nil, reply, d.conn) } if err != nil { err = &internal.OpError{Domain: "Animation", Op: "GetCurrentTime", Err: err} } return }
c19069
rpcc.Invoke(ctx, "Animation.resolveAnimation", nil, reply, d.conn) } if err != nil { err = &internal.OpError{Domain: "Animation", Op: "ResolveAnimation", Err: err} } return }
c19070
new(AwaitPromiseArgs) args.PromiseObjectID = promiseObjectID return args }
c19071
new(CallFunctionOnArgs) args.FunctionDeclaration = functionDeclaration return args }
c19072
{ a.ObjectID = &objectID return a }
c19073
{ a.Arguments = arguments return a }
c19074
a.ExecutionContextID = &executionContextID return a }
c19075
a.ObjectGroup = &objectGroup return a }
c19076
args.SourceURL = sourceURL args.PersistScript = persistScript return args }
c19077
new(EvaluateArgs) args.Expression = expression return args }
c19078
*EvaluateArgs { a.ContextID = &contextID return a }
c19079
new(GetPropertiesArgs) args.ObjectID = objectID return args }
c19080
a.OwnProperties = &ownProperties return a }
c19081
ExecutionContextID) *GlobalLexicalScopeNamesArgs { a.ExecutionContextID = &executionContextID return a }
c19082
new(QueryObjectsArgs) args.PrototypeObjectID = prototypeObjectID return args }
c19083
a.ObjectGroup = &objectGroup return a }
c19084
new(ReleaseObjectArgs) args.ObjectID = objectID return args }
c19085
new(ReleaseObjectGroupArgs) args.ObjectGroup = objectGroup return args }
c19086
new(RunScriptArgs) args.ScriptID = scriptID return args }
c19087
new(SetCustomObjectFormatterEnabledArgs) args.Enabled = enabled return args }
c19088
new(SetMaxCallStackSizeToCaptureArgs) args.Size = size return args }
c19089
new(AddBindingArgs) args.Name = name return args }
c19090
a.ExecutionContextID = &executionContextID return a }
c19091
new(RemoveBindingArgs) args.Name = name return args }
c19092
new(StartViolationsReportArgs) args.Config = config return args }
c19093
rpcc.Invoke(ctx, "DOMStorage.getDOMStorageItems", nil, reply, d.conn) } if err != nil { err = &internal.OpError{Domain: "DOMStorage", Op: "GetDOMStorageItems", Err: err} } return }
c19094
m := make(map[string]string) err := json.Unmarshal(n, &m) return m, err }
c19095
data, err := json.Marshal(r) if err != nil { return err } return s.send(data) }
c19096
case <-s.conn.Context().Done(): return s.conn.Context().Err() } }
c19097
<- data: return nil case <-s.conn.Context().Done(): return s.conn.Context().Err() } }
c19098
a.NoDisplayUpdates = &noDisplayUpdates return a }
c19099
*BeginFrameArgs { a.Screenshot = &screenshot return a }