feat(Chromium): roll Chromium to r548153 (#2312)

This roll includes:
- https://crrev.com/547982 - v8 roll that includes [fixed
  Runtime.callFunctionOn](1637818671) method

The upstream fix makes it possible to run frame.waitFor* functions on
pages with strict CSP.

References #1229.
This commit is contained in:
Andrey Lushnikov 2018-04-04 13:56:24 -07:00 committed by GitHub
parent f925158733
commit 98093f0763
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@
"ws": "^3.0.0" "ws": "^3.0.0"
}, },
"puppeteer": { "puppeteer": {
"chromium_revision": "546920" "chromium_revision": "548153"
}, },
"devDependencies": { "devDependencies": {
"@types/debug": "0.0.30", "@types/debug": "0.0.30",

View File

@ -110,7 +110,7 @@ module.exports.addTests = function({testRunner, expect}) {
await page.evaluate(() => window.__FOO = 'hit'); await page.evaluate(() => window.__FOO = 'hit');
await watchdog; await watchdog;
}); });
xit('should work with strict CSP policy', async({page, server}) => { it('should work with strict CSP policy', async({page, server}) => {
server.setCSP('/empty.html', 'script-src ' + server.PREFIX); server.setCSP('/empty.html', 'script-src ' + server.PREFIX);
await page.goto(server.EMPTY_PAGE); await page.goto(server.EMPTY_PAGE);
const watchdog = page.waitForFunction(() => window.__FOO === 'hit', {polling: 'raf'}); const watchdog = page.waitForFunction(() => window.__FOO === 'hit', {polling: 'raf'});

View File

@ -131,4 +131,4 @@ module.exports.addTests = function({testRunner, expect}) {
await newPage.close(); await newPage.close();
}); });
}); });
}; };