feat(chromium-tip-of-tree): roll to r1246 (#31951)

This commit is contained in:
Playwright Service 2024-08-01 06:13:15 -07:00 committed by GitHub
parent bbe252a3d7
commit c858554dca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -9,9 +9,9 @@
},
{
"name": "chromium-tip-of-tree",
"revision": "1245",
"revision": "1246",
"installByDefault": false,
"browserVersion": "129.0.6626.0"
"browserVersion": "129.0.6630.0"
},
{
"name": "firefox",

View File

@ -147,7 +147,7 @@ it('should not crash on showDirectoryPicker', async ({ page, server, browserName
const dir = await (window as any).showDirectoryPicker();
return dir.name;
// In headless it throws (aborted), in headed it stalls (Test ended) and waits for the picker to be accepted.
}).catch(e => expect(e.message).toMatch(/((DOMException|AbortError): The user aborted a request|Test ended)/));
}).catch(e => expect(e.message).toMatch(/((DOMException|AbortError): .*The user aborted a request|Test ended)/));
// The dialog will not be accepted, so we just wait for some time to
// to give the browser a chance to crash.
await page.waitForTimeout(3_000);