mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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:
committed by
Andrey Lushnikov
parent
b8dbd28b8c
commit
497baf0198
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user