mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-06 03:16:17 +03:00
chore: delete unused screencast hacks (#3964)
This commit is contained in:
parent
76d08cefc2
commit
989709b102
@ -48,7 +48,7 @@ export abstract class ChannelOwner<T extends channels.Channel = channels.Channel
|
|||||||
const base = new EventEmitter();
|
const base = new EventEmitter();
|
||||||
this._channel = new Proxy(base, {
|
this._channel = new Proxy(base, {
|
||||||
get: (obj: any, prop) => {
|
get: (obj: any, prop) => {
|
||||||
if (String(prop).startsWith('_') && String(prop) !== '_enableScreencast' && String(prop) !== '_disableScreencast')
|
if (String(prop).startsWith('_'))
|
||||||
return obj[prop];
|
return obj[prop];
|
||||||
if (prop === 'then')
|
if (prop === 'then')
|
||||||
return obj.then;
|
return obj.then;
|
||||||
|
Loading…
Reference in New Issue
Block a user