feat(chromium): roll Chromium to r588429 (#3181)
This roll includes: - https://crrev.com/588420 - DevTools: teach request interception to work with Security.setIgnoreCertificateErrors Fixes #1159.
This commit is contained in:
parent
464f3b4ca2
commit
32c0363ade
@ -8,7 +8,7 @@
|
|||||||
"node": ">=6.4.0"
|
"node": ">=6.4.0"
|
||||||
},
|
},
|
||||||
"puppeteer": {
|
"puppeteer": {
|
||||||
"chromium_revision": "587164"
|
"chromium_revision": "588429"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"unit": "node test/test.js",
|
"unit": "node test/test.js",
|
||||||
|
@ -55,6 +55,12 @@ module.exports.addTests = function({testRunner, expect, defaultBrowserOptions})
|
|||||||
const securityDetails = responses[0].securityDetails();
|
const securityDetails = responses[0].securityDetails();
|
||||||
expect(securityDetails.protocol()).toBe('TLS 1.2');
|
expect(securityDetails.protocol()).toBe('TLS 1.2');
|
||||||
});
|
});
|
||||||
|
it('should work with request interception', async({page, server, httpsServer}) => {
|
||||||
|
await page.setRequestInterception(true);
|
||||||
|
page.on('request', request => request.continue());
|
||||||
|
const response = await page.goto(httpsServer.EMPTY_PAGE);
|
||||||
|
expect(response.status()).toBe(200);
|
||||||
|
});
|
||||||
it('should work with mixed content', async({page, server, httpsServer}) => {
|
it('should work with mixed content', async({page, server, httpsServer}) => {
|
||||||
httpsServer.setRoute('/mixedcontent.html', (req, res) => {
|
httpsServer.setRoute('/mixedcontent.html', (req, res) => {
|
||||||
res.end(`<iframe src=${server.EMPTY_PAGE}></iframe>`);
|
res.end(`<iframe src=${server.EMPTY_PAGE}></iframe>`);
|
||||||
|
Loading…
Reference in New Issue
Block a user