feat(chromium): roll Chromium to r768783 (#6201)

* feat(chromium): roll Chromium to r768783

* fix: update unit test for crrev:2135046

* chore: update devtools-protocol revision

Co-authored-by: Changhao Han <changhaohan@chromium.org>
This commit is contained in:
Changhao Han 2020-07-10 15:32:44 +02:00 committed by GitHub
parent 9b3005c105
commit 790c277f0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 4 deletions

View File

@ -45,7 +45,7 @@
"license": "Apache-2.0",
"dependencies": {
"debug": "^4.1.0",
"devtools-protocol": "0.0.754670",
"devtools-protocol": "0.0.767361",
"extract-zip": "^2.0.0",
"https-proxy-agent": "^4.0.0",
"mime": "^2.0.3",

View File

@ -20,6 +20,6 @@ type Revisions = Readonly<{
}>;
export const PUPPETEER_REVISIONS: Revisions = {
chromium: '756035',
chromium: '768783',
firefox: 'latest',
};

View File

@ -406,7 +406,9 @@ describe('Cookie specs', () => {
expect(await page.evaluate('document.cookie')).toBe(
'localhost-cookie=best'
);
expect(await page.frames()[1].evaluate('document.cookie')).toBe('');
expect(await page.frames()[1].evaluate('document.cookie')).toBe(
'127-cookie=worst'
);
expect(await page.cookies()).toEqual([
{

View File

@ -17,7 +17,8 @@
const assert = require('assert');
const https = require('https');
const BrowserFetcher = require('../lib/BrowserFetcher').BrowserFetcher;
// run `npm run dev-install` if lib dir is missing
const BrowserFetcher = require('../lib/cjs/node/BrowserFetcher').BrowserFetcher;
const SUPPORTER_PLATFORMS = ['linux', 'mac', 'win32', 'win64'];
const fetchers = SUPPORTER_PLATFORMS.map(