mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
feat(webkit): bump to 1457 (#6021)
This commit is contained in:
parent
587682e024
commit
9532d0bde0
@ -13,7 +13,7 @@
|
||||
},
|
||||
{
|
||||
"name": "webkit",
|
||||
"revision": "1446",
|
||||
"revision": "1457",
|
||||
"installByDefault": true,
|
||||
"revisionOverrides": {
|
||||
"mac10.14": "1443"
|
||||
|
@ -6242,6 +6242,12 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
|
||||
*/
|
||||
found?: boolean;
|
||||
}
|
||||
export interface Insets {
|
||||
top: number;
|
||||
right: number;
|
||||
bottom: number;
|
||||
left: number;
|
||||
}
|
||||
|
||||
export type domContentEventFiredPayload = {
|
||||
timestamp: number;
|
||||
@ -6804,6 +6810,14 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
|
||||
}
|
||||
export type setOrientationOverrideReturnValue = {
|
||||
}
|
||||
export type setVisibleContentRectsParameters = {
|
||||
unobscuredContentRect?: DOM.Rect;
|
||||
contentInsets?: Insets;
|
||||
obscuredInsets?: Insets;
|
||||
unobscuredInsets?: Insets;
|
||||
}
|
||||
export type setVisibleContentRectsReturnValue = {
|
||||
}
|
||||
}
|
||||
|
||||
export module Playwright {
|
||||
@ -8842,6 +8856,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
|
||||
"Page.setBypassCSP": Page.setBypassCSPParameters;
|
||||
"Page.crash": Page.crashParameters;
|
||||
"Page.setOrientationOverride": Page.setOrientationOverrideParameters;
|
||||
"Page.setVisibleContentRects": Page.setVisibleContentRectsParameters;
|
||||
"Playwright.enable": Playwright.enableParameters;
|
||||
"Playwright.disable": Playwright.disableParameters;
|
||||
"Playwright.close": Playwright.closeParameters;
|
||||
@ -9130,6 +9145,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
|
||||
"Page.setBypassCSP": Page.setBypassCSPReturnValue;
|
||||
"Page.crash": Page.crashReturnValue;
|
||||
"Page.setOrientationOverride": Page.setOrientationOverrideReturnValue;
|
||||
"Page.setVisibleContentRects": Page.setVisibleContentRectsReturnValue;
|
||||
"Playwright.enable": Playwright.enableReturnValue;
|
||||
"Playwright.disable": Playwright.disableReturnValue;
|
||||
"Playwright.close": Playwright.closeReturnValue;
|
||||
|
@ -500,16 +500,14 @@ it('should not throw unhandled rejections on invalid url', async ({page, server}
|
||||
expect(e.toString()).toContain('Panel Title');
|
||||
});
|
||||
|
||||
it('should not crash when RTCPeerConnection is used',(test, { browserName }) => {
|
||||
test.fail(browserName === 'webkit');
|
||||
}, async ({ page, server }) => {
|
||||
it('should not crash when RTCPeerConnection is used', async ({ page, server }) => {
|
||||
server.setRoute('/rtc.html', (_, res) => {
|
||||
res.end(`
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<script>
|
||||
new window.RTCPeerConnection({
|
||||
window.RTCPeerConnection && new window.RTCPeerConnection({
|
||||
iceServers: []
|
||||
});
|
||||
</script>
|
||||
@ -519,7 +517,8 @@ it('should not crash when RTCPeerConnection is used',(test, { browserName }) =>
|
||||
});
|
||||
await page.goto(server.PREFIX + '/rtc.html');
|
||||
await page.evaluate(() => {
|
||||
new window.RTCPeerConnection({
|
||||
// RTCPeerConnection is not present on WebKit Linux
|
||||
window.RTCPeerConnection && new window.RTCPeerConnection({
|
||||
iceServers: []
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user