mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
feat(chromium): roll Chromium to r846621 (#5413)
This commit is contained in:
parent
d8f637c239
commit
6113d4d50d
@ -1,6 +1,6 @@
|
|||||||
# 🎭 Playwright
|
# 🎭 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)
|
## [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: |
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"browsers": [
|
"browsers": [
|
||||||
{
|
{
|
||||||
"name": "chromium",
|
"name": "chromium",
|
||||||
"revision": "845618",
|
"revision": "846621",
|
||||||
"download": true
|
"download": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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
41
types/protocol.d.ts
vendored
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user