feat(chromium): roll Chromium to r604907 (#3488)

Also, new Chrome now exposes a new type in its protocol - binary.
It becomes a raw C++ array once used through C++ bindings, but for
us it's still a base64 string.
This commit is contained in:
Andrey Lushnikov 2018-11-02 17:16:17 -07:00 committed by GitHub
parent 6b65407ab6
commit 52a103024b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -13,6 +13,7 @@ module.exports = puppeteer.launch({
const version = await browser.version();
await browser.close();
const output = `// This is generated from /utils/protocol-types-generator/index.js
type binary = string;
declare global {
module Protocol {${json.domains.map(domain => `${domain.description ? `
/**
@ -101,4 +102,4 @@ function typeOfProperty(property, domain) {
return 'number';
}
return property.type;
}
}