Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
This commit is contained in:
github-actions[bot] 2022-03-06 12:22:47 +01:00 коммит произвёл GitHub
Родитель d7648d390c
Коммит 702536d962
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 37 добавлений и 5 удалений

Просмотреть файл

@ -23,7 +23,7 @@
},
{
"name": "webkit",
"revision": "1611",
"revision": "1616",
"installByDefault": true,
"revisionOverrides": {
"mac10.14": "1446"

Просмотреть файл

@ -2909,6 +2909,32 @@ export module Protocol {
}
export type hideGridOverlayReturnValue = {
}
/**
* Shows a flex overlay for a node that begins a 'flex' layout context. The command has no effect if <code>nodeId</code> is invalid or the associated node does not begin a 'flex' layout context. A node can only have one flex overlay at a time; subsequent calls with the same <code>nodeId</code> will override earlier calls.
*/
export type showFlexOverlayParameters = {
/**
* The node for which a flex overlay should be shown.
*/
nodeId: NodeId;
/**
* The primary color to use for the flex overlay.
*/
flexColor: RGBAColor;
}
export type showFlexOverlayReturnValue = {
}
/**
* Hides a flex overlay for a node that begins a 'flex' layout context. The command has no effect if <code>nodeId</code> is specified and invalid, or if there is not currently an overlay set for the <code>nodeId</code>.
*/
export type hideFlexOverlayParameters = {
/**
* The node for which a flex overlay should be hidden. If a <code>nodeId</code> is not specified, all flex overlays will be hidden.
*/
nodeId?: NodeId;
}
export type hideFlexOverlayReturnValue = {
}
/**
* Requests that the node is sent to the caller given its path.
*/
@ -8895,6 +8921,8 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"DOM.highlightFrame": DOM.highlightFrameParameters;
"DOM.showGridOverlay": DOM.showGridOverlayParameters;
"DOM.hideGridOverlay": DOM.hideGridOverlayParameters;
"DOM.showFlexOverlay": DOM.showFlexOverlayParameters;
"DOM.hideFlexOverlay": DOM.hideFlexOverlayParameters;
"DOM.pushNodeByPathToFrontend": DOM.pushNodeByPathToFrontendParameters;
"DOM.resolveNode": DOM.resolveNodeParameters;
"DOM.getAttributes": DOM.getAttributesParameters;
@ -9193,6 +9221,8 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"DOM.highlightFrame": DOM.highlightFrameReturnValue;
"DOM.showGridOverlay": DOM.showGridOverlayReturnValue;
"DOM.hideGridOverlay": DOM.hideGridOverlayReturnValue;
"DOM.showFlexOverlay": DOM.showFlexOverlayReturnValue;
"DOM.hideFlexOverlay": DOM.hideFlexOverlayReturnValue;
"DOM.pushNodeByPathToFrontend": DOM.pushNodeByPathToFrontendReturnValue;
"DOM.resolveNode": DOM.resolveNodeReturnValue;
"DOM.getAttributes": DOM.getAttributesReturnValue;

Просмотреть файл

@ -183,7 +183,7 @@
"websocketsbinary": true,
"atobbtoa": true,
"atob-btoa": true,
"sharedworkers": false,
"sharedworkers": true,
"bdi": true,
"xhrresponsetypearraybuffer": true,
"xhrresponsetypeblob": true,

Просмотреть файл

@ -183,7 +183,7 @@
"websocketsbinary": true,
"atobbtoa": true,
"atob-btoa": true,
"sharedworkers": false,
"sharedworkers": true,
"bdi": true,
"xhrresponsetypearraybuffer": true,
"xhrresponsetypeblob": true,

Просмотреть файл

@ -51,7 +51,8 @@ it('should not modify selection when focused', async ({ page }) => {
expect(await page.$eval('input', input => input.value)).toBe('hewo');
});
it('should work with number input', async ({ page }) => {
it('should work with number input', async ({ page, browserName }) => {
it.fail(browserName === 'webkit', 'Started failing after https://github.com/WebKit/WebKit/commit/c92a2aea185d63b5e9998608a9c0321a461c496c');
await page.setContent(`<input type='number' value=2 />`);
await page.press('input', '1');
expect(await page.$eval('input', input => input.value)).toBe('12');

Просмотреть файл

@ -51,7 +51,8 @@ it('should not modify selection when focused', async ({ page }) => {
expect(await page.$eval('input', input => input.value)).toBe('heworldo');
});
it('should work with number input', async ({ page }) => {
it('should work with number input', async ({ page, browserName }) => {
it.fail(browserName === 'webkit', 'Started failing after https://github.com/WebKit/WebKit/commit/c92a2aea185d63b5e9998608a9c0321a461c496c');
await page.setContent(`<input type='number' value=2 />`);
await page.type('input', '13');
expect(await page.$eval('input', input => input.value)).toBe('132');