Skip to content

Commit eb9c8ce

Browse files
authored
feat(chromium): roll Chromium to Dev @ Feb 19, 2021 (#5536)
1 parent c3ee1cf commit eb9c8ce

File tree

4 files changed

+41
-19
lines changed

4 files changed

+41
-19
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# 🎭 Playwright
22

3-
[![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 -->
3+
[![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 -->
44

55
## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/#?path=docs/api.md)
66

77
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**.
88

99
| | Linux | macOS | Windows |
1010
| :--- | :---: | :---: | :---: |
11-
| Chromium <!-- GEN:chromium-version -->90.0.4412.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
11+
| Chromium <!-- GEN:chromium-version -->90.0.4421.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1212
| WebKit <!-- GEN:webkit-version -->14.1<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1313
| Firefox <!-- GEN:firefox-version -->86.0b10<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1414

browsers.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"browsers": [
44
{
55
"name": "chromium",
6-
"revision": "851527",
6+
"revision": "854489",
77
"download": true
88
},
99
{

src/server/chromium/protocol.ts

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -810,9 +810,8 @@ some CSP errors in the future.
810810
}
811811
export type SharedArrayBufferIssueType = "TransferIssue"|"CreationIssue";
812812
/**
813-
* Details for a request that has been blocked with the BLOCKED_BY_RESPONSE
814-
code. Currently only used for COEP/COOP, but may be extended to include
815-
some CSP errors in the future.
813+
* Details for a issue arising from an SAB being instantiated in, or
814+
transfered to a context that is not cross-origin isolated.
816815
*/
817816
export interface SharedArrayBufferIssueDetails {
818817
sourceCodeLocation: SourceCodeLocation;
@@ -847,12 +846,23 @@ used when violation type is kDigitalAssetLinks.
847846
fontSize: string;
848847
fontWeight: string;
849848
}
849+
/**
850+
* Details for a CORS related issue, e.g. a warning or error related to
851+
CORS RFC1918 enforcement.
852+
*/
853+
export interface CorsIssueDetails {
854+
corsErrorStatus: Network.CorsErrorStatus;
855+
isWarning: boolean;
856+
request: AffectedRequest;
857+
resourceIPAddressSpace?: Network.IPAddressSpace;
858+
clientSecurityState?: Network.ClientSecurityState;
859+
}
850860
/**
851861
* A unique identifier for the type of issue. Each type may use one of the
852862
optional fields in InspectorIssueDetails to convey more specific
853863
information about the kind of issue.
854864
*/
855-
export type InspectorIssueCode = "SameSiteCookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"TrustedWebActivityIssue"|"LowTextContrastIssue";
865+
export type InspectorIssueCode = "SameSiteCookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"TrustedWebActivityIssue"|"LowTextContrastIssue"|"CorsIssue";
856866
/**
857867
* This struct holds a list of optional fields with additional information
858868
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.
867877
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
868878
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
869879
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
880+
corsIssueDetails?: CorsIssueDetails;
870881
}
871882
/**
872883
* An inspector issue reported from the back-end.
@@ -7486,7 +7497,7 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
74867497
*/
74877498
errors?: SignedExchangeError[];
74887499
}
7489-
export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate";
7500+
export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate";
74907501
export type IPAddressSpace = "Local"|"Private"|"Public"|"Unknown";
74917502
export interface ClientSecurityState {
74927503
initiatorIsSecureContext: boolean;
@@ -14927,7 +14938,7 @@ other objects in their object group.
1492714938
NOTE: If you change anything here, make sure to also update
1492814939
`subtype` in `ObjectPreview` and `PropertyPreview` below.
1492914940
*/
14930-
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory";
14941+
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
1493114942
/**
1493214943
* Object class (constructor) name. Specified for `object` type values only.
1493314944
*/
@@ -14979,7 +14990,7 @@ The result value is json ML array.
1497914990
/**
1498014991
* Object subtype hint. Specified for `object` type values only.
1498114992
*/
14982-
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory";
14993+
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
1498314994
/**
1498414995
* String representation of the object.
1498514996
*/
@@ -15017,7 +15028,7 @@ The result value is json ML array.
1501715028
/**
1501815029
* Object subtype hint. Specified for `object` type values only.
1501915030
*/
15020-
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory";
15031+
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
1502115032
}
1502215033
export interface EntryPreview {
1502315034
/**

types/protocol.d.ts

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -810,9 +810,8 @@ some CSP errors in the future.
810810
}
811811
export type SharedArrayBufferIssueType = "TransferIssue"|"CreationIssue";
812812
/**
813-
* Details for a request that has been blocked with the BLOCKED_BY_RESPONSE
814-
code. Currently only used for COEP/COOP, but may be extended to include
815-
some CSP errors in the future.
813+
* Details for a issue arising from an SAB being instantiated in, or
814+
transfered to a context that is not cross-origin isolated.
816815
*/
817816
export interface SharedArrayBufferIssueDetails {
818817
sourceCodeLocation: SourceCodeLocation;
@@ -847,12 +846,23 @@ used when violation type is kDigitalAssetLinks.
847846
fontSize: string;
848847
fontWeight: string;
849848
}
849+
/**
850+
* Details for a CORS related issue, e.g. a warning or error related to
851+
CORS RFC1918 enforcement.
852+
*/
853+
export interface CorsIssueDetails {
854+
corsErrorStatus: Network.CorsErrorStatus;
855+
isWarning: boolean;
856+
request: AffectedRequest;
857+
resourceIPAddressSpace?: Network.IPAddressSpace;
858+
clientSecurityState?: Network.ClientSecurityState;
859+
}
850860
/**
851861
* A unique identifier for the type of issue. Each type may use one of the
852862
optional fields in InspectorIssueDetails to convey more specific
853863
information about the kind of issue.
854864
*/
855-
export type InspectorIssueCode = "SameSiteCookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"TrustedWebActivityIssue"|"LowTextContrastIssue";
865+
export type InspectorIssueCode = "SameSiteCookieIssue"|"MixedContentIssue"|"BlockedByResponseIssue"|"HeavyAdIssue"|"ContentSecurityPolicyIssue"|"SharedArrayBufferIssue"|"TrustedWebActivityIssue"|"LowTextContrastIssue"|"CorsIssue";
856866
/**
857867
* This struct holds a list of optional fields with additional information
858868
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.
867877
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
868878
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
869879
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
880+
corsIssueDetails?: CorsIssueDetails;
870881
}
871882
/**
872883
* An inspector issue reported from the back-end.
@@ -7486,7 +7497,7 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
74867497
*/
74877498
errors?: SignedExchangeError[];
74887499
}
7489-
export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate";
7500+
export type PrivateNetworkRequestPolicy = "Allow"|"BlockFromInsecureToMorePrivate"|"WarnFromInsecureToMorePrivate";
74907501
export type IPAddressSpace = "Local"|"Private"|"Public"|"Unknown";
74917502
export interface ClientSecurityState {
74927503
initiatorIsSecureContext: boolean;
@@ -14927,7 +14938,7 @@ other objects in their object group.
1492714938
NOTE: If you change anything here, make sure to also update
1492814939
`subtype` in `ObjectPreview` and `PropertyPreview` below.
1492914940
*/
14930-
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory";
14941+
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
1493114942
/**
1493214943
* Object class (constructor) name. Specified for `object` type values only.
1493314944
*/
@@ -14979,7 +14990,7 @@ The result value is json ML array.
1497914990
/**
1498014991
* Object subtype hint. Specified for `object` type values only.
1498114992
*/
14982-
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory";
14993+
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
1498314994
/**
1498414995
* String representation of the object.
1498514996
*/
@@ -15017,7 +15028,7 @@ The result value is json ML array.
1501715028
/**
1501815029
* Object subtype hint. Specified for `object` type values only.
1501915030
*/
15020-
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory";
15031+
subtype?: "array"|"null"|"node"|"regexp"|"date"|"map"|"set"|"weakmap"|"weakset"|"iterator"|"generator"|"error"|"proxy"|"promise"|"typedarray"|"arraybuffer"|"dataview"|"webassemblymemory"|"wasmvalue";
1502115032
}
1502215033
export interface EntryPreview {
1502315034
/**

0 commit comments

Comments
 (0)