Skip to content

Commit

Permalink
fix(routeWebSocket): do not show in the trace (#32991)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgozman authored Oct 8, 2024
1 parent 1b589c4 commit 0f2cbde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/playwright-core/src/client/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ export class WebSocketRoute extends ChannelOwner<channels.WebSocketRouteChannel>

constructor(parent: ChannelOwner, type: string, guid: string, initializer: channels.WebSocketRouteInitializer) {
super(parent, type, guid, initializer);
this.markAsInternalType();

this._server = {
onMessage: (handler: (message: string | Buffer) => any) => {
Expand Down

0 comments on commit 0f2cbde

Please sign in to comment.