feat(chromium): roll Chromium to r846621 (#5413)

This commit is contained in:
Andrey Lushnikov 2021-02-11 07:43:43 -08:00 committed by GitHub
parent d8f637c239
commit 6113d4d50d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 81 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# 🎭 Playwright # 🎭 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.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-86.0b5-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.4399.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-86.0b5-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) ## [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 | | | Linux | macOS | Windows |
| :--- | :---: | :---: | :---: | | :--- | :---: | :---: | :---: |
| Chromium <!-- GEN:chromium-version -->90.0.4396.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: | | Chromium <!-- GEN:chromium-version -->90.0.4399.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: | | WebKit <!-- GEN:webkit-version -->14.1<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Firefox <!-- GEN:firefox-version -->86.0b5<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: | | Firefox <!-- GEN:firefox-version -->86.0b5<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |

View File

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

View File

@ -816,12 +816,31 @@ some CSP errors in the future.
sourceCodeLocation: SourceCodeLocation; sourceCodeLocation: SourceCodeLocation;
isWarning: boolean; isWarning: boolean;
} }
export type TwaQualityEnforcementViolationType = "kHttpError"|"kUnavailableOffline"|"kDigitalAssetLinks";
export interface TrustedWebActivityIssueDetails {
/**
* The url that triggers the violation.
*/
url: string;
violationType: TwaQualityEnforcementViolationType;
httpStatusCode?: number;
/**
* The package name of the Trusted Web Activity client app. This field is
only used when violation type is kDigitalAssetLinks.
*/
packageName?: string;
/**
* The signature of the Trusted Web Activity client app. This field is only
used when violation type is kDigitalAssetLinks.
*/
signature?: string;
}
/** /**
* A unique identifier for the type of issue. Each type may use one of the * A unique identifier for the type of issue. Each type may use one of the
optional fields in InspectorIssueDetails to convey more specific optional fields in InspectorIssueDetails to convey more specific
information about the kind of issue. information about the kind of issue.
*/ */
export type InspectorIssueCode = "SameSiteCookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferTransferIssue"; export type InspectorIssueCode = "SameSiteCookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferTransferIssue"|"TrustedWebActivityIssue";
/** /**
* This struct holds a list of optional fields with additional information * This struct holds a list of optional fields with additional information
specific to the kind of issue. When adding a new issue code, please also specific to the kind of issue. When adding a new issue code, please also
@ -834,6 +853,7 @@ add a new optional field to this type.
heavyAdIssueDetails?: HeavyAdIssueDetails; heavyAdIssueDetails?: HeavyAdIssueDetails;
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails; contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
sharedArrayBufferTransferIssueDetails?: SharedArrayBufferTransferIssueDetails; sharedArrayBufferTransferIssueDetails?: SharedArrayBufferTransferIssueDetails;
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
} }
/** /**
* An inspector issue reported from the back-end. * An inspector issue reported from the back-end.
@ -7916,6 +7936,22 @@ this requestId will be the same as the requestId present in the requestWillBeSen
*/ */
initiator?: Initiator; initiator?: Initiator;
} }
/**
* Fired when WebTransport handshake is finished.
*/
export type webTransportConnectionEstablishedPayload = {
/**
* WebTransport identifier.
*/
transportId: RequestId;
/**
* Timestamp.
*/
timestamp: MonotonicTime;
}
/**
* Fired when WebTransport is disposed.
*/
export type webTransportClosedPayload = { export type webTransportClosedPayload = {
/** /**
* WebTransport identifier. * WebTransport identifier.
@ -14827,7 +14863,7 @@ other objects in their object group.
export type RemoteObjectId = string; export type RemoteObjectId = string;
/** /**
* Primitive value which cannot be JSON-stringified. Includes values `-0`, `NaN`, `Infinity`, * Primitive value which cannot be JSON-stringified. Includes values `-0`, `NaN`, `Infinity`,
`-Infinity`. `-Infinity`, and bigint literals.
*/ */
export type UnserializableValue = string; export type UnserializableValue = string;
/** /**
@ -15862,6 +15898,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Network.webSocketHandshakeResponseReceived": Network.webSocketHandshakeResponseReceivedPayload; "Network.webSocketHandshakeResponseReceived": Network.webSocketHandshakeResponseReceivedPayload;
"Network.webSocketWillSendHandshakeRequest": Network.webSocketWillSendHandshakeRequestPayload; "Network.webSocketWillSendHandshakeRequest": Network.webSocketWillSendHandshakeRequestPayload;
"Network.webTransportCreated": Network.webTransportCreatedPayload; "Network.webTransportCreated": Network.webTransportCreatedPayload;
"Network.webTransportConnectionEstablished": Network.webTransportConnectionEstablishedPayload;
"Network.webTransportClosed": Network.webTransportClosedPayload; "Network.webTransportClosed": Network.webTransportClosedPayload;
"Network.requestWillBeSentExtraInfo": Network.requestWillBeSentExtraInfoPayload; "Network.requestWillBeSentExtraInfo": Network.requestWillBeSentExtraInfoPayload;
"Network.responseReceivedExtraInfo": Network.responseReceivedExtraInfoPayload; "Network.responseReceivedExtraInfo": Network.responseReceivedExtraInfoPayload;

41
types/protocol.d.ts vendored
View File

@ -816,12 +816,31 @@ some CSP errors in the future.
sourceCodeLocation: SourceCodeLocation; sourceCodeLocation: SourceCodeLocation;
isWarning: boolean; isWarning: boolean;
} }
export type TwaQualityEnforcementViolationType = "kHttpError"|"kUnavailableOffline"|"kDigitalAssetLinks";
export interface TrustedWebActivityIssueDetails {
/**
* The url that triggers the violation.
*/
url: string;
violationType: TwaQualityEnforcementViolationType;
httpStatusCode?: number;
/**
* The package name of the Trusted Web Activity client app. This field is
only used when violation type is kDigitalAssetLinks.
*/
packageName?: string;
/**
* The signature of the Trusted Web Activity client app. This field is only
used when violation type is kDigitalAssetLinks.
*/
signature?: string;
}
/** /**
* A unique identifier for the type of issue. Each type may use one of the * A unique identifier for the type of issue. Each type may use one of the
optional fields in InspectorIssueDetails to convey more specific optional fields in InspectorIssueDetails to convey more specific
information about the kind of issue. information about the kind of issue.
*/ */
export type InspectorIssueCode = "SameSiteCookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferTransferIssue"; export type InspectorIssueCode = "SameSiteCookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferTransferIssue"|"TrustedWebActivityIssue";
/** /**
* This struct holds a list of optional fields with additional information * This struct holds a list of optional fields with additional information
specific to the kind of issue. When adding a new issue code, please also specific to the kind of issue. When adding a new issue code, please also
@ -834,6 +853,7 @@ add a new optional field to this type.
heavyAdIssueDetails?: HeavyAdIssueDetails; heavyAdIssueDetails?: HeavyAdIssueDetails;
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails; contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
sharedArrayBufferTransferIssueDetails?: SharedArrayBufferTransferIssueDetails; sharedArrayBufferTransferIssueDetails?: SharedArrayBufferTransferIssueDetails;
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
} }
/** /**
* An inspector issue reported from the back-end. * An inspector issue reported from the back-end.
@ -7916,6 +7936,22 @@ this requestId will be the same as the requestId present in the requestWillBeSen
*/ */
initiator?: Initiator; initiator?: Initiator;
} }
/**
* Fired when WebTransport handshake is finished.
*/
export type webTransportConnectionEstablishedPayload = {
/**
* WebTransport identifier.
*/
transportId: RequestId;
/**
* Timestamp.
*/
timestamp: MonotonicTime;
}
/**
* Fired when WebTransport is disposed.
*/
export type webTransportClosedPayload = { export type webTransportClosedPayload = {
/** /**
* WebTransport identifier. * WebTransport identifier.
@ -14827,7 +14863,7 @@ other objects in their object group.
export type RemoteObjectId = string; export type RemoteObjectId = string;
/** /**
* Primitive value which cannot be JSON-stringified. Includes values `-0`, `NaN`, `Infinity`, * Primitive value which cannot be JSON-stringified. Includes values `-0`, `NaN`, `Infinity`,
`-Infinity`. `-Infinity`, and bigint literals.
*/ */
export type UnserializableValue = string; export type UnserializableValue = string;
/** /**
@ -15862,6 +15898,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Network.webSocketHandshakeResponseReceived": Network.webSocketHandshakeResponseReceivedPayload; "Network.webSocketHandshakeResponseReceived": Network.webSocketHandshakeResponseReceivedPayload;
"Network.webSocketWillSendHandshakeRequest": Network.webSocketWillSendHandshakeRequestPayload; "Network.webSocketWillSendHandshakeRequest": Network.webSocketWillSendHandshakeRequestPayload;
"Network.webTransportCreated": Network.webTransportCreatedPayload; "Network.webTransportCreated": Network.webTransportCreatedPayload;
"Network.webTransportConnectionEstablished": Network.webTransportConnectionEstablishedPayload;
"Network.webTransportClosed": Network.webTransportClosedPayload; "Network.webTransportClosed": Network.webTransportClosedPayload;
"Network.requestWillBeSentExtraInfo": Network.requestWillBeSentExtraInfoPayload; "Network.requestWillBeSentExtraInfo": Network.requestWillBeSentExtraInfoPayload;
"Network.responseReceivedExtraInfo": Network.responseReceivedExtraInfoPayload; "Network.responseReceivedExtraInfo": Network.responseReceivedExtraInfoPayload;