feat(chromium): bump to 845618 (#5138)

This commit is contained in:
Dmitry Gozman 2021-01-25 07:45:21 -08:00 committed by GitHub
parent 464fdc1800
commit beed9a79a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 61 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# 🎭 Playwright
[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-90.0.4392.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-85.0b10-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[![WebKit version](https://img.shields.io/badge/webkit-14.1-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop -->
[![npm version](https://img.shields.io/npm/v/playwright.svg?style=flat)](https://www.npmjs.com/package/playwright) [![Join Slack](https://img.shields.io/badge/join-slack-infomational)](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-90.0.4396.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[![Firefox version](https://img.shields.io/badge/firefox-85.0b10-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[![WebKit version](https://img.shields.io/badge/webkit-14.1-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop -->
## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/#?path=docs/api.md)
@ -8,7 +8,7 @@ Playwright is a Node.js library to automate [Chromium](https://www.chromium.org/
| | Linux | macOS | Windows |
| :--- | :---: | :---: | :---: |
| Chromium <!-- GEN:chromium-version -->90.0.4392.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Chromium <!-- GEN:chromium-version -->90.0.4396.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| WebKit <!-- GEN:webkit-version -->14.1<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Firefox <!-- GEN:firefox-version -->85.0b10<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |

View File

@ -3,7 +3,7 @@
"browsers": [
{
"name": "chromium",
"revision": "844399",
"revision": "845618",
"download": true
},
{

View File

@ -9163,6 +9163,14 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
}
export type setShowHitTestBordersReturnValue = {
}
/**
* Request that backend shows an overlay with web vital metrics.
*/
export type setShowWebVitalsParameters = {
show: boolean;
}
export type setShowWebVitalsReturnValue = {
}
/**
* Paints viewport size upon main frame resize.
*/
@ -11373,6 +11381,14 @@ For cached script it is the last time the cache entry was validated.
*/
usage: number;
}
/**
* Pair of issuer origin and number of available (signed, but not used) Trust
Tokens from that issuer.
*/
export interface TrustTokens {
issuerOrigin: string;
count: number;
}
/**
* A cache's contents have been modified.
@ -11571,6 +11587,15 @@ disabled (called without a quotaSize).
}
export type untrackIndexedDBForOriginReturnValue = {
}
/**
* Returns the number of stored Trust Tokens per issuer for the
current browsing context.
*/
export type getTrustTokensParameters = {
}
export type getTrustTokensReturnValue = {
tokens: TrustTokens[];
}
}
/**
@ -16216,6 +16241,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Overlay.setShowLayoutShiftRegions": Overlay.setShowLayoutShiftRegionsParameters;
"Overlay.setShowScrollBottleneckRects": Overlay.setShowScrollBottleneckRectsParameters;
"Overlay.setShowHitTestBorders": Overlay.setShowHitTestBordersParameters;
"Overlay.setShowWebVitals": Overlay.setShowWebVitalsParameters;
"Overlay.setShowViewportSizeOnResize": Overlay.setShowViewportSizeOnResizeParameters;
"Overlay.setShowHinge": Overlay.setShowHingeParameters;
"Page.addScriptToEvaluateOnLoad": Page.addScriptToEvaluateOnLoadParameters;
@ -16305,6 +16331,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Storage.trackIndexedDBForOrigin": Storage.trackIndexedDBForOriginParameters;
"Storage.untrackCacheStorageForOrigin": Storage.untrackCacheStorageForOriginParameters;
"Storage.untrackIndexedDBForOrigin": Storage.untrackIndexedDBForOriginParameters;
"Storage.getTrustTokens": Storage.getTrustTokensParameters;
"SystemInfo.getInfo": SystemInfo.getInfoParameters;
"SystemInfo.getProcessInfo": SystemInfo.getProcessInfoParameters;
"Target.activateTarget": Target.activateTargetParameters;
@ -16721,6 +16748,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Overlay.setShowLayoutShiftRegions": Overlay.setShowLayoutShiftRegionsReturnValue;
"Overlay.setShowScrollBottleneckRects": Overlay.setShowScrollBottleneckRectsReturnValue;
"Overlay.setShowHitTestBorders": Overlay.setShowHitTestBordersReturnValue;
"Overlay.setShowWebVitals": Overlay.setShowWebVitalsReturnValue;
"Overlay.setShowViewportSizeOnResize": Overlay.setShowViewportSizeOnResizeReturnValue;
"Overlay.setShowHinge": Overlay.setShowHingeReturnValue;
"Page.addScriptToEvaluateOnLoad": Page.addScriptToEvaluateOnLoadReturnValue;
@ -16810,6 +16838,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Storage.trackIndexedDBForOrigin": Storage.trackIndexedDBForOriginReturnValue;
"Storage.untrackCacheStorageForOrigin": Storage.untrackCacheStorageForOriginReturnValue;
"Storage.untrackIndexedDBForOrigin": Storage.untrackIndexedDBForOriginReturnValue;
"Storage.getTrustTokens": Storage.getTrustTokensReturnValue;
"SystemInfo.getInfo": SystemInfo.getInfoReturnValue;
"SystemInfo.getProcessInfo": SystemInfo.getProcessInfoReturnValue;
"Target.activateTarget": Target.activateTargetReturnValue;

View File

@ -175,7 +175,6 @@ fixtures.build().it('focused input should produce the same screenshot', (test, {
test.fail(browserName === 'firefox' && platform === 'darwin', 'headless has thinner outline');
test.fail(browserName === 'firefox' && platform === 'linux', 'headless has no outline');
test.skip(browserName === 'webkit' && platform === 'linux', 'gtk vs wpe');
test.fail(browserName === 'chromium', 'Different outline color');
}, async ({browserType, browserOptions}) => {
const headful = await browserType.launch({...browserOptions, headless: false });
const headfulPage = await headful.newPage();

29
types/protocol.d.ts vendored
View File

@ -9163,6 +9163,14 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
}
export type setShowHitTestBordersReturnValue = {
}
/**
* Request that backend shows an overlay with web vital metrics.
*/
export type setShowWebVitalsParameters = {
show: boolean;
}
export type setShowWebVitalsReturnValue = {
}
/**
* Paints viewport size upon main frame resize.
*/
@ -11373,6 +11381,14 @@ For cached script it is the last time the cache entry was validated.
*/
usage: number;
}
/**
* Pair of issuer origin and number of available (signed, but not used) Trust
Tokens from that issuer.
*/
export interface TrustTokens {
issuerOrigin: string;
count: number;
}
/**
* A cache's contents have been modified.
@ -11571,6 +11587,15 @@ disabled (called without a quotaSize).
}
export type untrackIndexedDBForOriginReturnValue = {
}
/**
* Returns the number of stored Trust Tokens per issuer for the
current browsing context.
*/
export type getTrustTokensParameters = {
}
export type getTrustTokensReturnValue = {
tokens: TrustTokens[];
}
}
/**
@ -16216,6 +16241,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Overlay.setShowLayoutShiftRegions": Overlay.setShowLayoutShiftRegionsParameters;
"Overlay.setShowScrollBottleneckRects": Overlay.setShowScrollBottleneckRectsParameters;
"Overlay.setShowHitTestBorders": Overlay.setShowHitTestBordersParameters;
"Overlay.setShowWebVitals": Overlay.setShowWebVitalsParameters;
"Overlay.setShowViewportSizeOnResize": Overlay.setShowViewportSizeOnResizeParameters;
"Overlay.setShowHinge": Overlay.setShowHingeParameters;
"Page.addScriptToEvaluateOnLoad": Page.addScriptToEvaluateOnLoadParameters;
@ -16305,6 +16331,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Storage.trackIndexedDBForOrigin": Storage.trackIndexedDBForOriginParameters;
"Storage.untrackCacheStorageForOrigin": Storage.untrackCacheStorageForOriginParameters;
"Storage.untrackIndexedDBForOrigin": Storage.untrackIndexedDBForOriginParameters;
"Storage.getTrustTokens": Storage.getTrustTokensParameters;
"SystemInfo.getInfo": SystemInfo.getInfoParameters;
"SystemInfo.getProcessInfo": SystemInfo.getProcessInfoParameters;
"Target.activateTarget": Target.activateTargetParameters;
@ -16721,6 +16748,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Overlay.setShowLayoutShiftRegions": Overlay.setShowLayoutShiftRegionsReturnValue;
"Overlay.setShowScrollBottleneckRects": Overlay.setShowScrollBottleneckRectsReturnValue;
"Overlay.setShowHitTestBorders": Overlay.setShowHitTestBordersReturnValue;
"Overlay.setShowWebVitals": Overlay.setShowWebVitalsReturnValue;
"Overlay.setShowViewportSizeOnResize": Overlay.setShowViewportSizeOnResizeReturnValue;
"Overlay.setShowHinge": Overlay.setShowHingeReturnValue;
"Page.addScriptToEvaluateOnLoad": Page.addScriptToEvaluateOnLoadReturnValue;
@ -16810,6 +16838,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Storage.trackIndexedDBForOrigin": Storage.trackIndexedDBForOriginReturnValue;
"Storage.untrackCacheStorageForOrigin": Storage.untrackCacheStorageForOriginReturnValue;
"Storage.untrackIndexedDBForOrigin": Storage.untrackIndexedDBForOriginReturnValue;
"Storage.getTrustTokens": Storage.getTrustTokensReturnValue;
"SystemInfo.getInfo": SystemInfo.getInfoReturnValue;
"SystemInfo.getProcessInfo": SystemInfo.getProcessInfoReturnValue;
"Target.activateTarget": Target.activateTargetReturnValue;