mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
feat(chromium): roll Chromium to Dev @ Feb 19, 2021 (#5536)
This commit is contained in:
parent
c3ee1cf9c7
commit
eb9c8ce20c
@ -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.4412.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.0b10-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.4421.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.0b10-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.4412.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
| Chromium <!-- GEN:chromium-version -->90.0.4421.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.0b10<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
| Firefox <!-- GEN:firefox-version -->86.0b10<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"browsers": [
|
"browsers": [
|
||||||
{
|
{
|
||||||
"name": "chromium",
|
"name": "chromium",
|
||||||
"revision": "851527",
|
"revision": "854489",
|
||||||
"download": true
|
"download": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -810,9 +810,8 @@ some CSP errors in the future.
|
|||||||
}
|
}
|
||||||
export type SharedArrayBufferIssueType = "TransferIssue"|"CreationIssue";
|
export type SharedArrayBufferIssueType = "TransferIssue"|"CreationIssue";
|
||||||
/**
|
/**
|
||||||
* Details for a request that has been blocked with the BLOCKED_BY_RESPONSE
|
* Details for a issue arising from an SAB being instantiated in, or
|
||||||
code. Currently only used for COEP/COOP, but may be extended to include
|
transfered to a context that is not cross-origin isolated.
|
||||||
some CSP errors in the future.
|
|
||||||
*/
|
*/
|
||||||
export interface SharedArrayBufferIssueDetails {
|
export interface SharedArrayBufferIssueDetails {
|
||||||
sourceCodeLocation: SourceCodeLocation;
|
sourceCodeLocation: SourceCodeLocation;
|
||||||
@ -847,12 +846,23 @@ used when violation type is kDigitalAssetLinks.
|
|||||||
fontSize: string;
|
fontSize: string;
|
||||||
fontWeight: string;
|
fontWeight: string;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Details for a CORS related issue, e.g. a warning or error related to
|
||||||
|
CORS RFC1918 enforcement.
|
||||||
|
*/
|
||||||
|
export interface CorsIssueDetails {
|
||||||
|
corsErrorStatus: Network.CorsErrorStatus;
|
||||||
|
isWarning: boolean;
|
||||||
|
request: AffectedRequest;
|
||||||
|
resourceIPAddressSpace?: Network.IPAddressSpace;
|
||||||
|
clientSecurityState?: Network.ClientSecurityState;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* 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"|"SharedArrayBufferIssue"|"TrustedWebActivityIssue"|"LowTextContrastIssue";
|
export type InspectorIssueCode = "SameSiteCookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"TrustedWebActivityIssue"|"LowTextContrastIssue"|"CorsIssue";
|
||||||
/**
|
/**
|
||||||
* 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
|
||||||
@ -867,6 +877,7 @@ add a new optional field to this type.
|
|||||||
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
||||||
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
|
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
|
||||||
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
|
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
|
||||||
|
corsIssueDetails?: CorsIssueDetails;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* An inspector issue reported from the back-end.
|
* An inspector issue reported from the back-end.
|
||||||
@ -7486,7 +7497,7 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
|
|||||||
*/
|
*/
|
||||||
errors?: SignedExchangeError[];
|
errors?: SignedExchangeError[];
|
||||||
}
|
}
|
||||||
export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate";
|
export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate";
|
||||||
export type IPAddressSpace = "Local"|"Private"|"Public"|"Unknown";
|
export type IPAddressSpace = "Local"|"Private"|"Public"|"Unknown";
|
||||||
export interface ClientSecurityState {
|
export interface ClientSecurityState {
|
||||||
initiatorIsSecureContext: boolean;
|
initiatorIsSecureContext: boolean;
|
||||||
@ -14927,7 +14938,7 @@ other objects in their object group.
|
|||||||
NOTE: If you change anything here, make sure to also update
|
NOTE: If you change anything here, make sure to also update
|
||||||
`subtype` in `ObjectPreview` and `PropertyPreview` below.
|
`subtype` in `ObjectPreview` and `PropertyPreview` below.
|
||||||
*/
|
*/
|
||||||
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory";
|
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
|
||||||
/**
|
/**
|
||||||
* Object class (constructor) name. Specified for `object` type values only.
|
* Object class (constructor) name. Specified for `object` type values only.
|
||||||
*/
|
*/
|
||||||
@ -14979,7 +14990,7 @@ The result value is json ML array.
|
|||||||
/**
|
/**
|
||||||
* Object subtype hint. Specified for `object` type values only.
|
* Object subtype hint. Specified for `object` type values only.
|
||||||
*/
|
*/
|
||||||
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory";
|
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
|
||||||
/**
|
/**
|
||||||
* String representation of the object.
|
* String representation of the object.
|
||||||
*/
|
*/
|
||||||
@ -15017,7 +15028,7 @@ The result value is json ML array.
|
|||||||
/**
|
/**
|
||||||
* Object subtype hint. Specified for `object` type values only.
|
* Object subtype hint. Specified for `object` type values only.
|
||||||
*/
|
*/
|
||||||
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory";
|
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
|
||||||
}
|
}
|
||||||
export interface EntryPreview {
|
export interface EntryPreview {
|
||||||
/**
|
/**
|
||||||
|
27
types/protocol.d.ts
vendored
27
types/protocol.d.ts
vendored
@ -810,9 +810,8 @@ some CSP errors in the future.
|
|||||||
}
|
}
|
||||||
export type SharedArrayBufferIssueType = "TransferIssue"|"CreationIssue";
|
export type SharedArrayBufferIssueType = "TransferIssue"|"CreationIssue";
|
||||||
/**
|
/**
|
||||||
* Details for a request that has been blocked with the BLOCKED_BY_RESPONSE
|
* Details for a issue arising from an SAB being instantiated in, or
|
||||||
code. Currently only used for COEP/COOP, but may be extended to include
|
transfered to a context that is not cross-origin isolated.
|
||||||
some CSP errors in the future.
|
|
||||||
*/
|
*/
|
||||||
export interface SharedArrayBufferIssueDetails {
|
export interface SharedArrayBufferIssueDetails {
|
||||||
sourceCodeLocation: SourceCodeLocation;
|
sourceCodeLocation: SourceCodeLocation;
|
||||||
@ -847,12 +846,23 @@ used when violation type is kDigitalAssetLinks.
|
|||||||
fontSize: string;
|
fontSize: string;
|
||||||
fontWeight: string;
|
fontWeight: string;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Details for a CORS related issue, e.g. a warning or error related to
|
||||||
|
CORS RFC1918 enforcement.
|
||||||
|
*/
|
||||||
|
export interface CorsIssueDetails {
|
||||||
|
corsErrorStatus: Network.CorsErrorStatus;
|
||||||
|
isWarning: boolean;
|
||||||
|
request: AffectedRequest;
|
||||||
|
resourceIPAddressSpace?: Network.IPAddressSpace;
|
||||||
|
clientSecurityState?: Network.ClientSecurityState;
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* 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"|"SharedArrayBufferIssue"|"TrustedWebActivityIssue"|"LowTextContrastIssue";
|
export type InspectorIssueCode = "SameSiteCookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"TrustedWebActivityIssue"|"LowTextContrastIssue"|"CorsIssue";
|
||||||
/**
|
/**
|
||||||
* 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
|
||||||
@ -867,6 +877,7 @@ add a new optional field to this type.
|
|||||||
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
||||||
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
|
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
|
||||||
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
|
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
|
||||||
|
corsIssueDetails?: CorsIssueDetails;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* An inspector issue reported from the back-end.
|
* An inspector issue reported from the back-end.
|
||||||
@ -7486,7 +7497,7 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
|
|||||||
*/
|
*/
|
||||||
errors?: SignedExchangeError[];
|
errors?: SignedExchangeError[];
|
||||||
}
|
}
|
||||||
export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate";
|
export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate";
|
||||||
export type IPAddressSpace = "Local"|"Private"|"Public"|"Unknown";
|
export type IPAddressSpace = "Local"|"Private"|"Public"|"Unknown";
|
||||||
export interface ClientSecurityState {
|
export interface ClientSecurityState {
|
||||||
initiatorIsSecureContext: boolean;
|
initiatorIsSecureContext: boolean;
|
||||||
@ -14927,7 +14938,7 @@ other objects in their object group.
|
|||||||
NOTE: If you change anything here, make sure to also update
|
NOTE: If you change anything here, make sure to also update
|
||||||
`subtype` in `ObjectPreview` and `PropertyPreview` below.
|
`subtype` in `ObjectPreview` and `PropertyPreview` below.
|
||||||
*/
|
*/
|
||||||
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory";
|
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
|
||||||
/**
|
/**
|
||||||
* Object class (constructor) name. Specified for `object` type values only.
|
* Object class (constructor) name. Specified for `object` type values only.
|
||||||
*/
|
*/
|
||||||
@ -14979,7 +14990,7 @@ The result value is json ML array.
|
|||||||
/**
|
/**
|
||||||
* Object subtype hint. Specified for `object` type values only.
|
* Object subtype hint. Specified for `object` type values only.
|
||||||
*/
|
*/
|
||||||
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory";
|
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
|
||||||
/**
|
/**
|
||||||
* String representation of the object.
|
* String representation of the object.
|
||||||
*/
|
*/
|
||||||
@ -15017,7 +15028,7 @@ The result value is json ML array.
|
|||||||
/**
|
/**
|
||||||
* Object subtype hint. Specified for `object` type values only.
|
* Object subtype hint. Specified for `object` type values only.
|
||||||
*/
|
*/
|
||||||
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory";
|
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
|
||||||
}
|
}
|
||||||
export interface EntryPreview {
|
export interface EntryPreview {
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user