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:
parent
696f59e890
commit
c4083f0692
@ -34,7 +34,7 @@
|
||||
"ws": "^3.0.0"
|
||||
},
|
||||
"puppeteer": {
|
||||
"chromium_revision": "518818"
|
||||
"chromium_revision": "522446"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/debug": "0.0.30",
|
||||
|
18
test/test.js
18
test/test.js
@ -1002,14 +1002,14 @@ describe('Page', function() {
|
||||
page.on('requestfailed', request => expect(request).toBeTruthy());
|
||||
let error = null;
|
||||
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() {
|
||||
server.setRedirect('/redirect/1.html', '/redirect/2.html');
|
||||
server.setRedirect('/redirect/2.html', '/empty.html');
|
||||
let error = null;
|
||||
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() {
|
||||
let error = null;
|
||||
@ -3041,7 +3041,7 @@ describe('Page', function() {
|
||||
value: 'John Doe',
|
||||
domain: 'localhost',
|
||||
path: '/',
|
||||
expires: 0,
|
||||
expires: -1,
|
||||
size: 16,
|
||||
httpOnly: false,
|
||||
secure: false,
|
||||
@ -3058,7 +3058,7 @@ describe('Page', function() {
|
||||
value: '123456',
|
||||
domain: 'localhost',
|
||||
path: '/',
|
||||
expires: 0,
|
||||
expires: -1,
|
||||
size: 14,
|
||||
httpOnly: false,
|
||||
secure: false,
|
||||
@ -3068,7 +3068,7 @@ describe('Page', function() {
|
||||
value: 'John Doe',
|
||||
domain: 'localhost',
|
||||
path: '/',
|
||||
expires: 0,
|
||||
expires: -1,
|
||||
size: 16,
|
||||
httpOnly: false,
|
||||
secure: false,
|
||||
@ -3088,7 +3088,7 @@ describe('Page', function() {
|
||||
value: 'GRID',
|
||||
domain: 'localhost',
|
||||
path: '/grid.html',
|
||||
expires: 0,
|
||||
expires: -1,
|
||||
size: 14,
|
||||
httpOnly: false,
|
||||
secure: false,
|
||||
@ -3130,7 +3130,7 @@ describe('Page', function() {
|
||||
value: 'best',
|
||||
domain: 'www.example.com',
|
||||
path: '/',
|
||||
expires: 0,
|
||||
expires: -1,
|
||||
size: 18,
|
||||
httpOnly: false,
|
||||
secure: true,
|
||||
@ -3159,7 +3159,7 @@ describe('Page', function() {
|
||||
value: 'best',
|
||||
domain: 'localhost',
|
||||
path: '/',
|
||||
expires: 0,
|
||||
expires: -1,
|
||||
size: 20,
|
||||
httpOnly: false,
|
||||
secure: false,
|
||||
@ -3171,7 +3171,7 @@ describe('Page', function() {
|
||||
value: 'worst',
|
||||
domain: '127.0.0.1',
|
||||
path: '/',
|
||||
expires: 0,
|
||||
expires: -1,
|
||||
size: 15,
|
||||
httpOnly: false,
|
||||
secure: false,
|
||||
|
Loading…
Reference in New Issue
Block a user