From e95ec58e54b823bedd34c1bd8131cc2a61c7f30e Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Thu, 29 Apr 2021 10:13:59 -0700 Subject: [PATCH] Update to r876873 --- README.md | 4 ++-- browsers.json | 2 +- src/server/chromium/protocol.ts | 41 ++++++++++++++++++--------------- 3 files changed, 25 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 8554e8de43521d..d1a6aa1eb6282c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 🎭 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://aka.ms/playwright-slack) [![Chromium version](https://img.shields.io/badge/chromium-92.0.4484.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home) [![Firefox version](https://img.shields.io/badge/firefox-88.0b8-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/) [![WebKit version](https://img.shields.io/badge/webkit-14.2-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://aka.ms/playwright-slack) [![Chromium version](https://img.shields.io/badge/chromium-92.0.4491.0-blue.svg?logo=google-chrome)](https://www.chromium.org/Home) [![Firefox version](https://img.shields.io/badge/firefox-88.0b8-blue.svg?logo=mozilla-firefox)](https://www.mozilla.org/en-US/firefox/new/) [![WebKit version](https://img.shields.io/badge/webkit-14.2-blue.svg?logo=safari)](https://webkit.org/) ## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/docs/api/class-playwright/) @@ -8,7 +8,7 @@ Playwright is a Node.js library to automate [Chromium](https://www.chromium.org/ | | Linux | macOS | Windows | | :--- | :---: | :---: | :---: | -| Chromium 92.0.4484.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| Chromium 92.0.4491.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | WebKit 14.2 | :white_check_mark: | :white_check_mark: | :white_check_mark: | | Firefox 88.0b8 | :white_check_mark: | :white_check_mark: | :white_check_mark: | diff --git a/browsers.json b/browsers.json index 913916c502aa62..1834d6433a5bfa 100644 --- a/browsers.json +++ b/browsers.json @@ -3,7 +3,7 @@ "browsers": [ { "name": "chromium", - "revision": "874500", + "revision": "876873", "installByDefault": true }, { diff --git a/src/server/chromium/protocol.ts b/src/server/chromium/protocol.ts index a2a1593008e519..77c2cd3c5306a7 100644 --- a/src/server/chromium/protocol.ts +++ b/src/server/chromium/protocol.ts @@ -811,7 +811,7 @@ some CSP errors in the future. export type SharedArrayBufferIssueType = "TransferIssue"|"CreationIssue"; /** * Details for a issue arising from an SAB being instantiated in, or -transfered to a context that is not cross-origin isolated. +transferred to a context that is not cross-origin isolated. */ export interface SharedArrayBufferIssueDetails { sourceCodeLocation: SourceCodeLocation; @@ -858,7 +858,7 @@ CORS RFC1918 enforcement. resourceIPAddressSpace?: Network.IPAddressSpace; clientSecurityState?: Network.ClientSecurityState; } - export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"InvalidAttributionData"; + export type AttributionReportingIssueType = "PermissionPolicyDisabled"|"InvalidAttributionData"|"AttributionSourceUntrustworthyOrigin"; /** * Details for issues around "Attribution Reporting API" usage. Explainer: https://github.com/WICG/conversion-measurement-api @@ -1284,7 +1284,7 @@ their dowmload guids. */ browserContextId?: BrowserContextID; /** - * The default path to save downloaded files to. This is requred if behavior is set to 'allow' + * The default path to save downloaded files to. This is required if behavior is set to 'allow' or 'allowAndName'. */ downloadPath?: string; @@ -3004,11 +3004,11 @@ The property is always undefined now. nodeId: NodeId; } /** - * Called when distrubution is changed. + * Called when distribution is changed. */ export type distributedNodesUpdatedPayload = { /** - * Insertion point where distrubuted nodes were updated. + * Insertion point where distributed nodes were updated. */ insertionPointId: NodeId; /** @@ -4908,14 +4908,14 @@ Missing optional values will be filled in by the target with what it would norma result: boolean; } /** - * Clears the overriden device metrics. + * Clears the overridden device metrics. */ export type clearDeviceMetricsOverrideParameters = { } export type clearDeviceMetricsOverrideReturnValue = { } /** - * Clears the overriden Geolocation Position and Error. + * Clears the overridden Geolocation Position and Error. */ export type clearGeolocationOverrideParameters = { } @@ -5193,7 +5193,7 @@ Note any previous deferred policy change is superseded. */ waitForNavigation?: boolean; /** - * If set, base::Time::Now will be overriden to initially return this value. + * If set, base::Time::Now will be overridden to initially return this value. */ initialVirtualTime?: Network.TimeSinceEpoch; } @@ -5369,7 +5369,7 @@ display. Reported for diagnostic uses, may be removed in the future. */ export module IO { /** - * This is either obtained from another method or specifed as `blob:<uuid>` where + * This is either obtained from another method or specified as `blob:<uuid>` where `<uuid>` is an UUID of a Blob. */ export type StreamHandle = string; @@ -5414,7 +5414,7 @@ following the last read). Some types of streams may only support sequential read */ data: string; /** - * Set if the end-of-file condition occured while reading. + * Set if the end-of-file condition occurred while reading. */ eof: boolean; } @@ -7583,7 +7583,7 @@ backslash. Omitting is equivalent to "*". */ resourceType?: ResourceType; /** - * Stage at wich to begin intercepting requests. Default is Request. + * Stage at which to begin intercepting requests. Default is Request. */ interceptionStage?: InterceptionStage; } @@ -10429,7 +10429,7 @@ iframes, shadow DOM, external resources, and element-inline styles. data: string; } /** - * Clears the overriden device metrics. + * Clears the overridden device metrics. */ export type clearDeviceMetricsOverrideParameters = { } @@ -10443,7 +10443,7 @@ iframes, shadow DOM, external resources, and element-inline styles. export type clearDeviceOrientationOverrideReturnValue = { } /** - * Clears the overriden Geolocation Position and Error. + * Clears the overridden Geolocation Position and Error. */ export type clearGeolocationOverrideParameters = { } @@ -11024,7 +11024,7 @@ available (otherwise deny). */ behavior: "deny"|"allow"|"default"; /** - * The default path to save downloaded files to. This is requred if behavior is set to 'allow' + * The default path to save downloaded files to. This is required if behavior is set to 'allow' */ downloadPath?: string; } @@ -11992,7 +11992,7 @@ Tokens from that issuer. origin: string; /** * The quota size (in bytes) to override the original quota with. -If this is called multiple times, the overriden quota will be equal to +If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different @@ -12930,7 +12930,7 @@ backslash. Omitting is equivalent to "*". */ resourceType?: Network.ResourceType; /** - * Stage at wich to begin intercepting requests. Default is Request. + * Stage at which to begin intercepting requests. Default is Request. */ requestStage?: RequestStage; } @@ -13264,7 +13264,7 @@ https://webaudio.github.io/web-audio-api/ */ currentTime: number; /** - * The time spent on rendering graph divided by render qunatum duration, + * The time spent on rendering graph divided by render quantum duration, and multiplied by 100. 100 means the audio renderer reached the full capacity and glitch may occur. */ @@ -13721,8 +13721,8 @@ congestion. If batched, events must ALWAYS be in chronological order. errors: PlayerError[]; } /** - * Called whenever a player is created, or when a new agent joins and recieves -a list of active players. If an agent is restored, it will recieve the full + * Called whenever a player is created, or when a new agent joins and receives +a list of active players. If an agent is restored, it will receive the full list of player ids and all events again. */ export type playersCreatedPayload = { @@ -16244,6 +16244,9 @@ Each binding function call produces Runtime.bindingCalled notification. execution context. If omitted and `executionContextName` is not set, the binding is exposed to all execution contexts of the target. This parameter is mutually exclusive with `executionContextName`. +Deprecated in favor of `executionContextName` due to an unclear use case +and bugs in implementation (crbug.com/1169639). `executionContextId` will be +removed in the future. */ executionContextId?: ExecutionContextId; /**