feat(chromium-tip-of-tree): roll to r1080 (#20323)

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Playwright Service 2023-01-25 01:23:12 -08:00 committed by GitHub
parent 00edf587d5
commit d7366cfc7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

View File

@ -15,9 +15,9 @@
},
{
"name": "chromium-tip-of-tree",
"revision": "1079",
"revision": "1080",
"installByDefault": false,
"browserVersion": "111.0.5547.0"
"browserVersion": "111.0.5557.0"
},
{
"name": "firefox",

View File

@ -122,7 +122,7 @@ it.describe('permissions', () => {
// Note: Chromium 110 stopped triggering "onchange" when clearing permissions.
expect(await page.evaluate(() => window['events'])).toEqual(
(browserName === 'chromium' && browserMajorVersion >= 110) ?
(browserName === 'chromium' && browserMajorVersion === 110) ?
['prompt', 'denied', 'granted'] :
['prompt', 'denied', 'granted', 'prompt']);
});

View File

@ -28,7 +28,7 @@ it('should navigate subframes @smoke', async ({ page, server }) => {
expect(response.frame()).toBe(page.frames()[1]);
});
it('should reject when frame detaches', async ({ page, server }) => {
it('should reject when frame detaches', async ({ page, server, browserName }) => {
await page.goto(server.PREFIX + '/frames/one-frame.html');
server.setRoute('/empty.html', () => {});
@ -37,7 +37,10 @@ it('should reject when frame detaches', async ({ page, server }) => {
await page.$eval('iframe', frame => frame.remove());
const error = await navigationPromise;
expect(error.message).toContain('frame was detached');
if (browserName === 'chromium')
expect(error.message.includes('net::ERR_ABORTED') || error.message.includes('frame was detached')).toBe(true);
else
expect(error.message).toContain('frame was detached');
});
it('should continue after client redirect', async ({ page, server, isAndroid }) => {