Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit fcc7f9e

Browse files
committed
Revise Connection hook comment
1 parent 2fe4bc2 commit fcc7f9e

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

common/connection.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,6 @@ type Connection struct {
136136
// onTargetAttachedToTarget is called when a new target is attached to the browser.
137137
// Returning false will prevent the session from being created.
138138
// If onTargetAttachedToTarget is nil, the session will be created.
139-
//
140-
// Register this only once, before the connection is used.
141-
// It's not a constructor parameter to prevent polluting the constructor
142-
// signature. Also, tests don't need to set this (or some other future code).
143139
onTargetAttachedToTarget func(*target.EventAttachedToTarget) bool
144140
}
145141

0 commit comments

Comments
 (0)