Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(chromium): roll Chromium to r846621 (#5413)
Andrey Lushnikov6113d4d50dd3
diff --git a/README.md b/README.mdindex ce556f5b6b..61228f65c5 100644--- a/README.md+++ b/README.md@@ -1,6 +1,6 @@# 🎭 Playwright-[](https://www.npmjs.com/package/playwright) [](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](https://webkit.org/)<!-- GEN:stop -->+[](https://www.npmjs.com/package/playwright) [](https://join.slack.com/t/playwright/shared_invite/enQtOTEyMTUxMzgxMjIwLThjMDUxZmIyNTRiMTJjNjIyMzdmZDA3MTQxZWUwZTFjZjQwNGYxZGM5MzRmNzZlMWI5ZWUyOTkzMjE5Njg1NDg) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](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.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: |diff --git a/browsers.json b/browsers.jsonindex 3ca544ea0a..aee65e2fdf 100644--- a/browsers.json+++ b/browsers.json@@ -3,7 +3,7 @@"browsers": [{"name": "chromium",- "revision": "845618",+ "revision": "846621","download": true},{diff --git a/src/server/chromium/protocol.ts b/src/server/chromium/protocol.tsindex 1d073bb63d..1042a0f3f8 100644--- a/src/server/chromium/protocol.ts+++ b/src/server/chromium/protocol.ts@@ -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 theoptional fields in InspectorIssueDetails to convey more specificinformation 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 informationspecific 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;contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;sharedArrayBufferTransferIssueDetails?: SharedArrayBufferTransferIssueDetails;+ twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;}/*** 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;}+ /**+ * 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.@@ -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;/**@@ -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;diff --git a/types/protocol.d.ts b/types/protocol.d.tsindex 1d073bb63d..1042a0f3f8 100644--- a/types/protocol.d.ts+++ b/types/protocol.d.ts@@ -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 theoptional fields in InspectorIssueDetails to convey more specificinformation 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 informationspecific 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;contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;sharedArrayBufferTransferIssueDetails?: SharedArrayBufferTransferIssueDetails;+ twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;}/*** 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;}+ /**+ * 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.@@ -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;/**@@ -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;