feat: roll Chromium to r564778 (#2681)

This roll includes:
- https://chromium-review.googlesource.com/c/v8/v8/+/1086372 - [inspector] postpone API interrupts during creation of injected script

This fixes worker flakiness.

Fixes #2632
This commit is contained in:
Joel Einbinder 2018-06-06 07:48:56 -07:00 committed by Andrey Lushnikov
parent 4bc23319a2
commit a058468948
2 changed files with 1 additions and 7 deletions

View File

@ -29,12 +29,6 @@ class Worker extends EventEmitter {
this._url = url;
this._executionContextPromise = new Promise(x => this._executionContextCallback = x);
this._client.once('Runtime.executionContextCreated', async event => {
// Get a reference to the main object on the worker as a hack around https://crbug.com/846099.
await this._client.send('Runtime.evaluate', {
expression: 'this',
returnByValue: false,
contextId: event.executionContextId
}).catch(debugError);
const jsHandleFactory = remoteObject => new JSHandle(executionContext, client, remoteObject);
const executionContext = new ExecutionContext(client, event.context, jsHandleFactory, null);
this._executionContextCallback(executionContext);

View File

@ -8,7 +8,7 @@
"node": ">=6.4.0"
},
"puppeteer": {
"chromium_revision": "563942"
"chromium_revision": "564778"
},
"scripts": {
"unit": "node test/test.js",