mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
Roll chromium to r485143
This commit is contained in:
@@ -77,7 +77,7 @@ class NetworkManager extends EventEmitter {
|
||||
*/
|
||||
async setRequestInterceptor(interceptor) {
|
||||
this._requestInterceptor = interceptor;
|
||||
await this._client.send('Network.enableRequestInterception', {enabled: !!interceptor});
|
||||
await this._client.send('Network.setRequestInterceptionEnabled', {enabled: !!interceptor});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user