feat(webkit): bump to 1357 (#4154)
This commit is contained in:
parent
347dd2403b
commit
86ef956b4b
|
|
@ -13,7 +13,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "webkit",
|
"name": "webkit",
|
||||||
"revision": "1353",
|
"revision": "1357",
|
||||||
"download": true
|
"download": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -4540,6 +4540,27 @@ Left=1, Right=2, Middle=4, Back=8, Forward=16, None=0.
|
||||||
}
|
}
|
||||||
export type dispatchMouseEventReturnValue = {
|
export type dispatchMouseEventReturnValue = {
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Dispatches a tap event to the page.
|
||||||
|
*/
|
||||||
|
export type dispatchTapEventParameters = {
|
||||||
|
/**
|
||||||
|
* X coordinate of the event relative to the main frame's viewport in CSS pixels.
|
||||||
|
*/
|
||||||
|
x: number;
|
||||||
|
/**
|
||||||
|
* Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to
|
||||||
|
the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.
|
||||||
|
*/
|
||||||
|
y: number;
|
||||||
|
/**
|
||||||
|
* Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8
|
||||||
|
(default: 0).
|
||||||
|
*/
|
||||||
|
modifiers?: number;
|
||||||
|
}
|
||||||
|
export type dispatchTapEventReturnValue = {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export module Inspector {
|
export module Inspector {
|
||||||
|
|
@ -8607,6 +8628,7 @@ Left=1, Right=2, Middle=4, Back=8, Forward=16, None=0.
|
||||||
"IndexedDB.clearObjectStore": IndexedDB.clearObjectStoreParameters;
|
"IndexedDB.clearObjectStore": IndexedDB.clearObjectStoreParameters;
|
||||||
"Input.dispatchKeyEvent": Input.dispatchKeyEventParameters;
|
"Input.dispatchKeyEvent": Input.dispatchKeyEventParameters;
|
||||||
"Input.dispatchMouseEvent": Input.dispatchMouseEventParameters;
|
"Input.dispatchMouseEvent": Input.dispatchMouseEventParameters;
|
||||||
|
"Input.dispatchTapEvent": Input.dispatchTapEventParameters;
|
||||||
"Inspector.enable": Inspector.enableParameters;
|
"Inspector.enable": Inspector.enableParameters;
|
||||||
"Inspector.disable": Inspector.disableParameters;
|
"Inspector.disable": Inspector.disableParameters;
|
||||||
"Inspector.initialized": Inspector.initializedParameters;
|
"Inspector.initialized": Inspector.initializedParameters;
|
||||||
|
|
@ -8890,6 +8912,7 @@ Left=1, Right=2, Middle=4, Back=8, Forward=16, None=0.
|
||||||
"IndexedDB.clearObjectStore": IndexedDB.clearObjectStoreReturnValue;
|
"IndexedDB.clearObjectStore": IndexedDB.clearObjectStoreReturnValue;
|
||||||
"Input.dispatchKeyEvent": Input.dispatchKeyEventReturnValue;
|
"Input.dispatchKeyEvent": Input.dispatchKeyEventReturnValue;
|
||||||
"Input.dispatchMouseEvent": Input.dispatchMouseEventReturnValue;
|
"Input.dispatchMouseEvent": Input.dispatchMouseEventReturnValue;
|
||||||
|
"Input.dispatchTapEvent": Input.dispatchTapEventReturnValue;
|
||||||
"Inspector.enable": Inspector.enableReturnValue;
|
"Inspector.enable": Inspector.enableReturnValue;
|
||||||
"Inspector.disable": Inspector.disableReturnValue;
|
"Inspector.disable": Inspector.disableReturnValue;
|
||||||
"Inspector.initialized": Inspector.initializedReturnValue;
|
"Inspector.initialized": Inspector.initializedReturnValue;
|
||||||
|
|
|
||||||
|
|
@ -131,8 +131,8 @@ describe('mobile viewport', (suite, { browserName }) => {
|
||||||
await context.close();
|
await context.close();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should emulate the hover media feature', (test, { browserName }) => {
|
it('should emulate the hover media feature', (test, { browserName, platform }) => {
|
||||||
test.fail(browserName === 'webkit');
|
test.fail(browserName === 'webkit' && platform === 'darwin');
|
||||||
}, async ({playwright, browser}) => {
|
}, async ({playwright, browser}) => {
|
||||||
const iPhone = playwright.devices['iPhone 6'];
|
const iPhone = playwright.devices['iPhone 6'];
|
||||||
const mobilepage = await browser.newPage({ ...iPhone });
|
const mobilepage = await browser.newPage({ ...iPhone });
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue