feat(chromium): roll Chromium to r867878 (#6065)

This roll required us pass a new flag - `--allow-pre-commit-input`. Otherwise, keyboard tests won't pass.

Co-authored-by: Joel Einbinder <joel.einbinder@gmail.com>
This commit is contained in:
Andrey Lushnikov 2021-04-06 17:56:41 -05:00 committed by GitHub
parent fb7c703157
commit 112ac2f98c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 58 additions and 3 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://aka.ms/playwright-slack) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-91.0.4455.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-88.0b6-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.2-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://aka.ms/playwright-slack) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-91.0.4464.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-88.0b6-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.2-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop -->
## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/docs/api/class-playwright/)
@ -8,7 +8,7 @@ Playwright is a Node.js library to automate [Chromium](https://www.chromium.org/
| | Linux | macOS | Windows |
| :--- | :---: | :---: | :---: |
| Chromium <!-- GEN:chromium-version -->91.0.4455.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Chromium <!-- GEN:chromium-version -->91.0.4464.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| WebKit <!-- GEN:webkit-version -->14.2<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Firefox <!-- GEN:firefox-version -->88.0b6<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |

View File

@ -3,7 +3,7 @@
"browsers": [
{
"name": "chromium",
"revision": "865012",
"revision": "867878",
"installByDefault": true
},
{

View File

@ -178,6 +178,7 @@ const DEFAULT_ARGS = [
'--disable-extensions',
// BlinkGenPropertyTrees disabled due to crbug.com/937609
'--disable-features=TranslateUI,BlinkGenPropertyTrees,ImprovedCookieControls,SameSiteByDefaultCookies,LazyFrameLoading',
'--allow-pre-commit-input',
'--disable-hang-monitor',
'--disable-ipc-flooding-protection',
'--disable-popup-blocking',

View File

@ -854,6 +854,7 @@ CORS RFC1918 enforcement.
corsErrorStatus: Network.CorsErrorStatus;
isWarning: boolean;
request: AffectedRequest;
initiatorOrigin?: string;
resourceIPAddressSpace?: Network.IPAddressSpace;
clientSecurityState?: Network.ClientSecurityState;
}
@ -7546,6 +7547,10 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
*/
errors?: SignedExchangeError[];
}
/**
* List of content encodings supported by the backend.
*/
export type ContentEncoding = "deflate"|"gzip"|"br";
export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate";
export type IPAddressSpace = "Local"|"Private"|"Public"|"Unknown";
export interface ClientSecurityState {
@ -8130,6 +8135,24 @@ preemptively (e.g. a cache hit).
issuedTokenCount?: number;
}
/**
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
*/
export type setAcceptedEncodingsParameters = {
/**
* List of accepted content encodings.
*/
encodings: ContentEncoding[];
}
export type setAcceptedEncodingsReturnValue = {
}
/**
* Clears accepted encodings set by setAcceptedEncodings
*/
export type clearAcceptedEncodingsOverrideParameters = {
}
export type clearAcceptedEncodingsOverrideReturnValue = {
}
/**
* Tells whether clearing browser cache is supported.
*/
@ -16444,6 +16467,8 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Memory.getAllTimeSamplingProfile": Memory.getAllTimeSamplingProfileParameters;
"Memory.getBrowserSamplingProfile": Memory.getBrowserSamplingProfileParameters;
"Memory.getSamplingProfile": Memory.getSamplingProfileParameters;
"Network.setAcceptedEncodings": Network.setAcceptedEncodingsParameters;
"Network.clearAcceptedEncodingsOverride": Network.clearAcceptedEncodingsOverrideParameters;
"Network.canClearBrowserCache": Network.canClearBrowserCacheParameters;
"Network.canClearBrowserCookies": Network.canClearBrowserCookiesParameters;
"Network.canEmulateNetworkConditions": Network.canEmulateNetworkConditionsParameters;
@ -16956,6 +16981,8 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Memory.getAllTimeSamplingProfile": Memory.getAllTimeSamplingProfileReturnValue;
"Memory.getBrowserSamplingProfile": Memory.getBrowserSamplingProfileReturnValue;
"Memory.getSamplingProfile": Memory.getSamplingProfileReturnValue;
"Network.setAcceptedEncodings": Network.setAcceptedEncodingsReturnValue;
"Network.clearAcceptedEncodingsOverride": Network.clearAcceptedEncodingsOverrideReturnValue;
"Network.canClearBrowserCache": Network.canClearBrowserCacheReturnValue;
"Network.canClearBrowserCookies": Network.canClearBrowserCookiesReturnValue;
"Network.canEmulateNetworkConditions": Network.canEmulateNetworkConditionsReturnValue;

27
types/protocol.d.ts vendored
View File

@ -854,6 +854,7 @@ CORS RFC1918 enforcement.
corsErrorStatus: Network.CorsErrorStatus;
isWarning: boolean;
request: AffectedRequest;
initiatorOrigin?: string;
resourceIPAddressSpace?: Network.IPAddressSpace;
clientSecurityState?: Network.ClientSecurityState;
}
@ -7546,6 +7547,10 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
*/
errors?: SignedExchangeError[];
}
/**
* List of content encodings supported by the backend.
*/
export type ContentEncoding = "deflate"|"gzip"|"br";
export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate";
export type IPAddressSpace = "Local"|"Private"|"Public"|"Unknown";
export interface ClientSecurityState {
@ -8130,6 +8135,24 @@ preemptively (e.g. a cache hit).
issuedTokenCount?: number;
}
/**
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
*/
export type setAcceptedEncodingsParameters = {
/**
* List of accepted content encodings.
*/
encodings: ContentEncoding[];
}
export type setAcceptedEncodingsReturnValue = {
}
/**
* Clears accepted encodings set by setAcceptedEncodings
*/
export type clearAcceptedEncodingsOverrideParameters = {
}
export type clearAcceptedEncodingsOverrideReturnValue = {
}
/**
* Tells whether clearing browser cache is supported.
*/
@ -16444,6 +16467,8 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Memory.getAllTimeSamplingProfile": Memory.getAllTimeSamplingProfileParameters;
"Memory.getBrowserSamplingProfile": Memory.getBrowserSamplingProfileParameters;
"Memory.getSamplingProfile": Memory.getSamplingProfileParameters;
"Network.setAcceptedEncodings": Network.setAcceptedEncodingsParameters;
"Network.clearAcceptedEncodingsOverride": Network.clearAcceptedEncodingsOverrideParameters;
"Network.canClearBrowserCache": Network.canClearBrowserCacheParameters;
"Network.canClearBrowserCookies": Network.canClearBrowserCookiesParameters;
"Network.canEmulateNetworkConditions": Network.canEmulateNetworkConditionsParameters;
@ -16956,6 +16981,8 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Memory.getAllTimeSamplingProfile": Memory.getAllTimeSamplingProfileReturnValue;
"Memory.getBrowserSamplingProfile": Memory.getBrowserSamplingProfileReturnValue;
"Memory.getSamplingProfile": Memory.getSamplingProfileReturnValue;
"Network.setAcceptedEncodings": Network.setAcceptedEncodingsReturnValue;
"Network.clearAcceptedEncodingsOverride": Network.clearAcceptedEncodingsOverrideReturnValue;
"Network.canClearBrowserCache": Network.canClearBrowserCacheReturnValue;
"Network.canClearBrowserCookies": Network.canClearBrowserCookiesReturnValue;
"Network.canEmulateNetworkConditions": Network.canEmulateNetworkConditionsReturnValue;