feat(Chromium): roll Chromium to r510398 (#1112)

This roll includes revision https://crrev.com/510285 that fixes
the clipping bug on retina displays.

Fixes #733
This commit is contained in:
Andrey Lushnikov 2017-10-20 10:58:39 -07:00 committed by GitHub
parent 5c92ba222a
commit 7f60e33a63
2 changed files with 2 additions and 4 deletions

View File

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

View File

@ -2531,9 +2531,7 @@ describe('Page', function() {
const screenshot = await page.screenshot({omitBackground: true});
expect(screenshot).toBeGolden('transparent.png');
}));
// Doesn't work on retina displays.
// @see https://github.com/GoogleChrome/puppeteer/issues/733
xit('should work with odd clip size on Retina displays', SX(async function() {
it('should work with odd clip size on Retina displays', SX(async function() {
const screenshot = await page.screenshot({
clip: {
x: 0,