Skip to content

Commit

Permalink
feat(chromium): roll Chromium to r846621 (#5413)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov authored Feb 11, 2021
1 parent d8f637c commit 6113d4d
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# 🎭 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)

Playwright is a Node.js library to automate [Chromium](https://www.chromium.org/Home), [Firefox](https://www.mozilla.org/en-US/firefox/new/) and [WebKit](https://webkit.org/) with a single API. Playwright is built to enable cross-browser web automation that is **ever-green**, **capable**, **reliable** and **fast**.

| | 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: |
| Firefox <!-- GEN:firefox-version -->86.0b5<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |

Expand Down
2 changes: 1 addition & 1 deletion browsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"browsers": [
{
"name": "chromium",
"revision": "845618",
"revision": "846621",
"download": true
},
{
Expand Down
41 changes: 39 additions & 2 deletions src/server/chromium/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -816,12 +816,31 @@ some CSP errors in the future.
sourceCodeLocation: SourceCodeLocation;
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
optional fields in InspectorIssueDetails to convey more specific
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
specific to the kind of issue. When adding a new issue code, please also
Expand All @@ -834,6 +853,7 @@ add a new optional field to this type.
heavyAdIssueDetails?: HeavyAdIssueDetails;
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
sharedArrayBufferTransferIssueDetails?: SharedArrayBufferTransferIssueDetails;
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
}
/**
* An inspector issue reported from the back-end.
Expand Down Expand Up @@ -7916,6 +7936,22 @@ this requestId will be the same as the requestId present in the requestWillBeSen
*/
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 = {
/**
* WebTransport identifier.
Expand Down Expand Up @@ -14827,7 +14863,7 @@ other objects in their object group.
export type RemoteObjectId = string;
/**
* Primitive value which cannot be JSON-stringified. Includes values `-0`, `NaN`, `Infinity`,
`-Infinity`.
`-Infinity`, and bigint literals.
*/
export type UnserializableValue = string;
/**
Expand Down Expand Up @@ -15862,6 +15898,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Network.webSocketHandshakeResponseReceived": Network.webSocketHandshakeResponseReceivedPayload;
"Network.webSocketWillSendHandshakeRequest": Network.webSocketWillSendHandshakeRequestPayload;
"Network.webTransportCreated": Network.webTransportCreatedPayload;
"Network.webTransportConnectionEstablished": Network.webTransportConnectionEstablishedPayload;
"Network.webTransportClosed": Network.webTransportClosedPayload;
"Network.requestWillBeSentExtraInfo": Network.requestWillBeSentExtraInfoPayload;
"Network.responseReceivedExtraInfo": Network.responseReceivedExtraInfoPayload;
Expand Down
41 changes: 39 additions & 2 deletions types/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -816,12 +816,31 @@ some CSP errors in the future.
sourceCodeLocation: SourceCodeLocation;
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
optional fields in InspectorIssueDetails to convey more specific
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
specific to the kind of issue. When adding a new issue code, please also
Expand All @@ -834,6 +853,7 @@ add a new optional field to this type.
heavyAdIssueDetails?: HeavyAdIssueDetails;
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
sharedArrayBufferTransferIssueDetails?: SharedArrayBufferTransferIssueDetails;
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
}
/**
* An inspector issue reported from the back-end.
Expand Down Expand Up @@ -7916,6 +7936,22 @@ this requestId will be the same as the requestId present in the requestWillBeSen
*/
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 = {
/**
* WebTransport identifier.
Expand Down Expand Up @@ -14827,7 +14863,7 @@ other objects in their object group.
export type RemoteObjectId = string;
/**
* Primitive value which cannot be JSON-stringified. Includes values `-0`, `NaN`, `Infinity`,
`-Infinity`.
`-Infinity`, and bigint literals.
*/
export type UnserializableValue = string;
/**
Expand Down Expand Up @@ -15862,6 +15898,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Network.webSocketHandshakeResponseReceived": Network.webSocketHandshakeResponseReceivedPayload;
"Network.webSocketWillSendHandshakeRequest": Network.webSocketWillSendHandshakeRequestPayload;
"Network.webTransportCreated": Network.webTransportCreatedPayload;
"Network.webTransportConnectionEstablished": Network.webTransportConnectionEstablishedPayload;
"Network.webTransportClosed": Network.webTransportClosedPayload;
"Network.requestWillBeSentExtraInfo": Network.requestWillBeSentExtraInfoPayload;
"Network.responseReceivedExtraInfo": Network.responseReceivedExtraInfoPayload;
Expand Down

0 comments on commit 6113d4d

Please sign in to comment.