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:
parent
9b3005c105
commit
790c277f0e
@ -45,7 +45,7 @@
|
|||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"debug": "^4.1.0",
|
"debug": "^4.1.0",
|
||||||
"devtools-protocol": "0.0.754670",
|
"devtools-protocol": "0.0.767361",
|
||||||
"extract-zip": "^2.0.0",
|
"extract-zip": "^2.0.0",
|
||||||
"https-proxy-agent": "^4.0.0",
|
"https-proxy-agent": "^4.0.0",
|
||||||
"mime": "^2.0.3",
|
"mime": "^2.0.3",
|
||||||
|
@ -20,6 +20,6 @@ type Revisions = Readonly<{
|
|||||||
}>;
|
}>;
|
||||||
|
|
||||||
export const PUPPETEER_REVISIONS: Revisions = {
|
export const PUPPETEER_REVISIONS: Revisions = {
|
||||||
chromium: '756035',
|
chromium: '768783',
|
||||||
firefox: 'latest',
|
firefox: 'latest',
|
||||||
};
|
};
|
||||||
|
@ -406,7 +406,9 @@ describe('Cookie specs', () => {
|
|||||||
expect(await page.evaluate('document.cookie')).toBe(
|
expect(await page.evaluate('document.cookie')).toBe(
|
||||||
'localhost-cookie=best'
|
'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([
|
expect(await page.cookies()).toEqual([
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const https = require('https');
|
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 SUPPORTER_PLATFORMS = ['linux', 'mac', 'win32', 'win64'];
|
||||||
const fetchers = SUPPORTER_PLATFORMS.map(
|
const fetchers = SUPPORTER_PLATFORMS.map(
|
||||||
|
Loading…
Reference in New Issue
Block a user