Skip to content

Commit

Permalink
feat(chromium): roll Chromium to r768783 (#6201)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
hanselfmu and hanselfmu-chromium committed Jul 10, 2020
1 parent 9b3005c commit 790c277
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/revisions.ts
Expand Up @@ -20,6 +20,6 @@ type Revisions = Readonly<{
}>;

export const PUPPETEER_REVISIONS: Revisions = {
chromium: '756035',
chromium: '768783',
firefox: 'latest',
};
4 changes: 3 additions & 1 deletion test/cookies.spec.ts
Expand Up @@ -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([
{
Expand Down
3 changes: 2 additions & 1 deletion utils/check_availability.js
Expand Up @@ -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(
Expand Down

0 comments on commit 790c277

Please sign in to comment.