mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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:
parent
6b65407ab6
commit
52a103024b
@ -8,7 +8,7 @@
|
||||
"node": ">=6.4.0"
|
||||
},
|
||||
"puppeteer": {
|
||||
"chromium_revision": "599821"
|
||||
"chromium_revision": "604907"
|
||||
},
|
||||
"scripts": {
|
||||
"unit": "node test/test.js",
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user