mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +03:00
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:
parent
00edf587d5
commit
d7366cfc7c
@ -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",
|
||||
|
@ -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']);
|
||||
});
|
||||
|
@ -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 }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user