Skip to content

Commit

Permalink
cherry-pick(#32991): fix(routeWebSocket): do not show in the trace (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dgozman authored Oct 8, 2024
1 parent c329c5c commit ca368d4
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 ca368d4

Please sign in to comment.