Skip to content

Commit

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

Please sign in to comment.