mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
parent
cb285a2379
commit
25ad7402e9
@ -95,7 +95,7 @@ export class WebWorker extends EventEmitter {
|
|||||||
this._executionContextCallback(executionContext);
|
this._executionContextCallback(executionContext);
|
||||||
});
|
});
|
||||||
|
|
||||||
// This might fail if the target is closed before we recieve all execution contexts.
|
// This might fail if the target is closed before we receive all execution contexts.
|
||||||
this._client.send('Runtime.enable').catch(debugError);
|
this._client.send('Runtime.enable').catch(debugError);
|
||||||
this._client.on('Runtime.consoleAPICalled', (event) =>
|
this._client.on('Runtime.consoleAPICalled', (event) =>
|
||||||
consoleAPICalled(
|
consoleAPICalled(
|
||||||
|
Loading…
Reference in New Issue
Block a user