Unify browser bridge request normalization

This commit is contained in:
Joe Julian
2026-04-12 06:48:12 -07:00
parent 57870ca4f1
commit a02d4a3b1c
3 changed files with 24 additions and 18 deletions
+1 -5
View File
@@ -117,11 +117,7 @@ func runNativeMessage() error {
}
func dialBridge(ctx context.Context, req browserbridge.Request) (*grpc.ClientConn, *browserbridge.GRPCClient, context.Context, error) {
connCfg, err := req.Connection()
if err != nil {
return nil, nil, nil, err
}
return browserbridge.Dial(ctx, connCfg)
return browserbridge.DialRequest(ctx, req)
}
func defaultBinaryPath() (string, error) {