feat(Chromium): roll Chromium to r522446 (#1499)

This roll includes:
- https://crrev.com/520341 DevTools: Network.getCookies should return -1 for null expiry dates
- https://crrev.com/522417 Fix flaky SyntheticMouseEventTest.MouseEventAc

Fixes #1350
This commit is contained in:
JoelEinbinder 2017-12-07 16:40:02 -05:00 committed by Andrey Lushnikov
parent 696f59e890
commit c4083f0692
2 changed files with 10 additions and 10 deletions

View File

@ -34,7 +34,7 @@
"ws": "^3.0.0" "ws": "^3.0.0"
}, },
"puppeteer": { "puppeteer": {
"chromium_revision": "518818" "chromium_revision": "522446"
}, },
"devDependencies": { "devDependencies": {
"@types/debug": "0.0.30", "@types/debug": "0.0.30",

View File

@ -1002,14 +1002,14 @@ describe('Page', function() {
page.on('requestfailed', request => expect(request).toBeTruthy()); page.on('requestfailed', request => expect(request).toBeTruthy());
let error = null; let error = null;
await page.goto(HTTPS_PREFIX + '/empty.html').catch(e => error = e); await page.goto(HTTPS_PREFIX + '/empty.html').catch(e => error = e);
expect(error.message).toContain('net::ERR_INSECURE_RESPONSE'); expect(error.message).toContain('net::ERR_CERT_AUTHORITY_INVALID');
})); }));
it('should fail when navigating to bad SSL after redirects', SX(async function() { it('should fail when navigating to bad SSL after redirects', SX(async function() {
server.setRedirect('/redirect/1.html', '/redirect/2.html'); server.setRedirect('/redirect/1.html', '/redirect/2.html');
server.setRedirect('/redirect/2.html', '/empty.html'); server.setRedirect('/redirect/2.html', '/empty.html');
let error = null; let error = null;
await page.goto(HTTPS_PREFIX + '/redirect/1.html').catch(e => error = e); await page.goto(HTTPS_PREFIX + '/redirect/1.html').catch(e => error = e);
expect(error.message).toContain('net::ERR_INSECURE_RESPONSE'); expect(error.message).toContain('net::ERR_CERT_AUTHORITY_INVALID');
})); }));
it('should throw if networkidle is passed as an option', SX(async function() { it('should throw if networkidle is passed as an option', SX(async function() {
let error = null; let error = null;
@ -3041,7 +3041,7 @@ describe('Page', function() {
value: 'John Doe', value: 'John Doe',
domain: 'localhost', domain: 'localhost',
path: '/', path: '/',
expires: 0, expires: -1,
size: 16, size: 16,
httpOnly: false, httpOnly: false,
secure: false, secure: false,
@ -3058,7 +3058,7 @@ describe('Page', function() {
value: '123456', value: '123456',
domain: 'localhost', domain: 'localhost',
path: '/', path: '/',
expires: 0, expires: -1,
size: 14, size: 14,
httpOnly: false, httpOnly: false,
secure: false, secure: false,
@ -3068,7 +3068,7 @@ describe('Page', function() {
value: 'John Doe', value: 'John Doe',
domain: 'localhost', domain: 'localhost',
path: '/', path: '/',
expires: 0, expires: -1,
size: 16, size: 16,
httpOnly: false, httpOnly: false,
secure: false, secure: false,
@ -3088,7 +3088,7 @@ describe('Page', function() {
value: 'GRID', value: 'GRID',
domain: 'localhost', domain: 'localhost',
path: '/grid.html', path: '/grid.html',
expires: 0, expires: -1,
size: 14, size: 14,
httpOnly: false, httpOnly: false,
secure: false, secure: false,
@ -3130,7 +3130,7 @@ describe('Page', function() {
value: 'best', value: 'best',
domain: 'www.example.com', domain: 'www.example.com',
path: '/', path: '/',
expires: 0, expires: -1,
size: 18, size: 18,
httpOnly: false, httpOnly: false,
secure: true, secure: true,
@ -3159,7 +3159,7 @@ describe('Page', function() {
value: 'best', value: 'best',
domain: 'localhost', domain: 'localhost',
path: '/', path: '/',
expires: 0, expires: -1,
size: 20, size: 20,
httpOnly: false, httpOnly: false,
secure: false, secure: false,
@ -3171,7 +3171,7 @@ describe('Page', function() {
value: 'worst', value: 'worst',
domain: '127.0.0.1', domain: '127.0.0.1',
path: '/', path: '/',
expires: 0, expires: -1,
size: 15, size: 15,
httpOnly: false, httpOnly: false,
secure: false, secure: false,