Skip to content

Commit

Permalink
feat(chromium): roll to v808777 (#3942)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman authored Sep 21, 2020
1 parent ec26265 commit cd0a123
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 12 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-86.0.4238.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-80.0b8-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> [![WebKit version](https://img.shields.io/badge/webkit-14.0-blue.svg?logo=safari)](https://webkit.org/)
[![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-87.0.4271.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-80.0b8-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> [![WebKit version](https://img.shields.io/badge/webkit-14.0-blue.svg?logo=safari)](https://webkit.org/)

## [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 -->86.0.4238.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Chromium <!-- GEN:chromium-version -->87.0.4271.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| WebKit 14.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Firefox <!-- GEN:firefox-version -->80.0b8<!-- 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": "799411",
"revision": "808777",
"download": true
},
{
Expand Down
105 changes: 96 additions & 9 deletions src/server/chromium/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -992,10 +992,6 @@ See https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/perm
Note that userVisibleOnly = true is the only currently supported type.
*/
userVisibleOnly?: boolean;
/**
* For "wake-lock" permission, must specify type as either "screen" or "system".
*/
type?: string;
/**
* For "clipboard" permission, may specify allowWithoutSanitization.
*/
Expand Down Expand Up @@ -1408,10 +1404,14 @@ document.written STYLE tags.
/**
* Whether this stylesheet is mutable. Inline stylesheets become mutable
after they have been modified via CSSOM API.
<link> element's stylesheets are never mutable. Constructed stylesheets
(new CSSStyleSheet()) are mutable immediately after creation.
<link> element's stylesheets become mutable only if DevTools modifies them.
Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
*/
isMutable: boolean;
/**
* Whether this stylesheet is a constructed stylesheet (created using new CSSStyleSheet()).
*/
isConstructed: boolean;
/**
* Line offset of the stylesheet within the resource (zero based).
*/
Expand Down Expand Up @@ -7261,10 +7261,16 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
export type CrossOriginOpenerPolicyValue = "SameOrigin"|"SameOriginAllowPopups"|"UnsafeNone"|"SameOriginPlusCoep";
export interface CrossOriginOpenerPolicyStatus {
value: CrossOriginOpenerPolicyValue;
reportOnlyValue: CrossOriginOpenerPolicyValue;
reportingEndpoint?: string;
reportOnlyReportingEndpoint?: string;
}
export type CrossOriginEmbedderPolicyValue = "None"|"RequireCorp";
export interface CrossOriginEmbedderPolicyStatus {
value: CrossOriginEmbedderPolicyValue;
reportOnlyValue: CrossOriginEmbedderPolicyValue;
reportingEndpoint?: string;
reportOnlyReportingEndpoint?: string;
}
export interface SecurityIsolationStatus {
coop: CrossOriginOpenerPolicyStatus;
Expand Down Expand Up @@ -8151,6 +8157,17 @@ default domain and path values of the created cookie.
}
export type setExtraHTTPHeadersReturnValue = {
}
/**
* Specifies whether to sned a debug header to all outgoing requests.
*/
export type setAttachDebugHeaderParameters = {
/**
* Whether to send a debug header.
*/
enabled: boolean;
}
export type setAttachDebugHeaderReturnValue = {
}
/**
* Sets the requests to intercept that match the provided patterns and optionally resource types.
Deprecated, please use Fetch.enable instead.
Expand Down Expand Up @@ -8298,6 +8315,10 @@ continueInterceptedRequest call.
* The named grid areas border color (Default: transparent).
*/
areaBorderColor?: DOM.RGBA;
/**
* The grid container background color (Default: transparent).
*/
gridBackgroundColor?: DOM.RGBA;
}
/**
* Configuration data for the highlighting of page elements.
Expand Down Expand Up @@ -8779,6 +8800,14 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
* Indicates whether a frame has been identified as an ad.
*/
export type AdFrameType = "none"|"child"|"root";
/**
* Indicates whether the frame is a secure context and why it is the case.
*/
export type SecureContextType = "Secure"|"SecureLocalhost"|"InsecureScheme"|"InsecureAncestor";
/**
* Indicates whether the frame is cross-origin isolated and why it is the case.
*/
export type CrossOriginIsolatedContextType = "Isolated"|"NotIsolated"|"NotIsolatedFeatureDisabled";
/**
* Information about the Frame on the page.
*/
Expand Down Expand Up @@ -8830,6 +8859,14 @@ Example URLs: http://www.google.com/file.html -> "google.com"
* Indicates whether this frame was tagged as an ad.
*/
adFrameType?: AdFrameType;
/**
* Indicates whether the main document is a secure context and explains why that is the case.
*/
secureContextType: SecureContextType;
/**
* Indicates whether this is a cross origin isolated context.
*/
crossOriginIsolatedContextType: CrossOriginIsolatedContextType;
}
/**
* Information about the Resource on the page.
Expand Down Expand Up @@ -12194,7 +12231,7 @@ capacity and glitch may occur.
sampleRate: number;
}
/**
* Protocol object for AudioListner
* Protocol object for AudioListener
*/
export interface AudioListener {
listenerId: GraphObjectId;
Expand Down Expand Up @@ -13965,6 +14002,23 @@ profile startTime.
*/
value: number;
}
/**
* Runtime call counter information.
*/
export interface RuntimeCallCounterInfo {
/**
* Counter name.
*/
name: string;
/**
* Counter value.
*/
value: number;
/**
* Counter time in seconds.
*/
time: number;
}

export type consoleProfileFinishedPayload = {
id: string;
Expand Down Expand Up @@ -14130,6 +14184,31 @@ coverage needs to have started.
*/
result: ScriptTypeProfile[];
}
/**
* Enable counters collection.
*/
export type enableCountersParameters = {
}
export type enableCountersReturnValue = {
}
/**
* Disable counters collection.
*/
export type disableCountersParameters = {
}
export type disableCountersReturnValue = {
}
/**
* Retrieve counters.
*/
export type getCountersParameters = {
}
export type getCountersReturnValue = {
/**
* Collected counters information.
*/
result: CounterInfo[];
}
/**
* Enable run time call stats collection.
*/
Expand All @@ -14151,9 +14230,9 @@ coverage needs to have started.
}
export type getRuntimeCallStatsReturnValue = {
/**
* Collected counter information.
* Collected runtime call counter information.
*/
result: CounterInfo[];
result: RuntimeCallCounterInfo[];
}
}

Expand Down Expand Up @@ -15520,6 +15599,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Network.setCookies": Network.setCookiesParameters;
"Network.setDataSizeLimitsForTest": Network.setDataSizeLimitsForTestParameters;
"Network.setExtraHTTPHeaders": Network.setExtraHTTPHeadersParameters;
"Network.setAttachDebugHeader": Network.setAttachDebugHeaderParameters;
"Network.setRequestInterception": Network.setRequestInterceptionParameters;
"Network.setUserAgentOverride": Network.setUserAgentOverrideParameters;
"Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusParameters;
Expand Down Expand Up @@ -15738,6 +15818,9 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Profiler.stopTypeProfile": Profiler.stopTypeProfileParameters;
"Profiler.takePreciseCoverage": Profiler.takePreciseCoverageParameters;
"Profiler.takeTypeProfile": Profiler.takeTypeProfileParameters;
"Profiler.enableCounters": Profiler.enableCountersParameters;
"Profiler.disableCounters": Profiler.disableCountersParameters;
"Profiler.getCounters": Profiler.getCountersParameters;
"Profiler.enableRuntimeCallStats": Profiler.enableRuntimeCallStatsParameters;
"Profiler.disableRuntimeCallStats": Profiler.disableRuntimeCallStatsParameters;
"Profiler.getRuntimeCallStats": Profiler.getRuntimeCallStatsParameters;
Expand Down Expand Up @@ -16013,6 +16096,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Network.setCookies": Network.setCookiesReturnValue;
"Network.setDataSizeLimitsForTest": Network.setDataSizeLimitsForTestReturnValue;
"Network.setExtraHTTPHeaders": Network.setExtraHTTPHeadersReturnValue;
"Network.setAttachDebugHeader": Network.setAttachDebugHeaderReturnValue;
"Network.setRequestInterception": Network.setRequestInterceptionReturnValue;
"Network.setUserAgentOverride": Network.setUserAgentOverrideReturnValue;
"Network.getSecurityIsolationStatus": Network.getSecurityIsolationStatusReturnValue;
Expand Down Expand Up @@ -16231,6 +16315,9 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Profiler.stopTypeProfile": Profiler.stopTypeProfileReturnValue;
"Profiler.takePreciseCoverage": Profiler.takePreciseCoverageReturnValue;
"Profiler.takeTypeProfile": Profiler.takeTypeProfileReturnValue;
"Profiler.enableCounters": Profiler.enableCountersReturnValue;
"Profiler.disableCounters": Profiler.disableCountersReturnValue;
"Profiler.getCounters": Profiler.getCountersReturnValue;
"Profiler.enableRuntimeCallStats": Profiler.enableRuntimeCallStatsReturnValue;
"Profiler.disableRuntimeCallStats": Profiler.disableRuntimeCallStatsReturnValue;
"Profiler.getRuntimeCallStats": Profiler.getRuntimeCallStatsReturnValue;
Expand Down

0 comments on commit cd0a123

Please sign in to comment.