This repository was archived by the owner on Jan 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ type Frame struct {
117
117
118
118
documentHandle * ElementHandle
119
119
120
- mainExecutionContext FrameExecutionContext
121
- utilityExecutionContext FrameExecutionContext
120
+ mainExecutionContext frameExecutionContext
121
+ utilityExecutionContext frameExecutionContext
122
122
mainExecutionContextCh chan bool
123
123
utilityExecutionContextCh chan bool
124
124
mainExecutionContextHasWaited int32
@@ -418,7 +418,7 @@ func (f *Frame) requestByID(reqID network.RequestID) *Request {
418
418
return frameSession .networkManager .requestFromID (reqID )
419
419
}
420
420
421
- func (f * Frame ) setContext (world string , execCtx FrameExecutionContext ) {
421
+ func (f * Frame ) setContext (world string , execCtx frameExecutionContext ) {
422
422
if world == "main" {
423
423
f .mainExecutionContext = execCtx
424
424
if len (f .mainExecutionContextCh ) == 0 {
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ import (
29
29
"github.com/grafana/xk6-browser/api"
30
30
)
31
31
32
- // FrameExecutionContext represents a JS execution context that belongs to Frame.
33
- type FrameExecutionContext interface {
32
+ // frameExecutionContext represents a JS execution context that belongs to Frame.
33
+ type frameExecutionContext interface {
34
34
// adoptBackendNodeId adopts specified backend node into this execution
35
35
// context from another execution context.
36
36
adoptBackendNodeId (backendNodeID cdp.BackendNodeID ) (* ElementHandle , error )
You can’t perform that action at this time.
0 commit comments