Roll chromium to r493673 (#240)

Mouse events are no longer racy. Enabling touch no longer converts all mouse events into touches. Promises in destroyed execution contexts are rejected immediately.
This commit is contained in:
JoelEinbinder
2017-08-11 01:21:02 -07:00
committed by Andrey Lushnikov
parent b8dbd28b8c
commit 497baf0198
4 changed files with 8 additions and 15 deletions

View File

@@ -961,7 +961,7 @@ describe('Page', function() {
}
}));
// @see https://github.com/GoogleChrome/puppeteer/issues/161
xit('should not hang with touch-enabled viewports', SX(async function() {
it('should not hang with touch-enabled viewports', SX(async function() {
await page.setViewport(iPhone.viewport);
await page.mouse.down();
await page.mouse.move(100, 10);
@@ -1209,7 +1209,7 @@ describe('Page', function() {
expect(await page.evaluate(() => window.lastEvent.repeat)).toBe(true);
}));
// @see https://github.com/GoogleChrome/puppeteer/issues/206
xit('should click links which cause navigation', SX(async function() {
it('should click links which cause navigation', SX(async function() {
await page.setContent(`<a href="${EMPTY_PAGE}">empty.html</a>`);
// This await should not hang.
await page.click('a');