Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

feat(chromium): roll Chromium to r888113 (#6832)

Andrey Lushnikov3c3a7f9293c8
diff --git a/README.md b/README.md
index 2a3d135282..7f7f4324c7 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) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-92.0.4513.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-89.0b15-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.2-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://aka.ms/playwright-slack) <!-- GEN:chromium-version-badge -->[![Chromium version](https://img.shields.io/badge/chromium-93.0.4530.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-89.0b15-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.2-blue.svg?logo=safari)](https://webkit.org/)<!-- GEN:stop -->
## [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 <!-- GEN:chromium-version -->92.0.4513.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
+| Chromium <!-- GEN:chromium-version -->93.0.4530.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| WebKit <!-- GEN:webkit-version -->14.2<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| Firefox <!-- GEN:firefox-version -->89.0b15<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
diff --git a/browsers.json b/browsers.json
index 51ef0aee4e..df9b52ca6b 100644
--- a/browsers.json
+++ b/browsers.json
@@ -3,7 +3,7 @@
"browsers": [
{
"name": "chromium",
- "revision": "884693",
+ "revision": "888113",
"installByDefault": true
},
{
diff --git a/src/server/chromium/protocol.ts b/src/server/chromium/protocol.ts
index d262acb9d2..3f669ea0e3 100644
--- a/src/server/chromium/protocol.ts
+++ b/src/server/chromium/protocol.ts
@@ -701,7 +701,7 @@ associated with some application cache.
export interface AffectedFrame {
frameId: Page.FrameId;
}
- export type SameSiteCookieExclusionReason = "ExcludeSameSiteUnspecifiedTreatedAsLax"|"ExcludeSameSiteNoneInsecure"|"ExcludeSameSiteLax"|"ExcludeSameSiteStrict";
+ export type SameSiteCookieExclusionReason = "ExcludeSameSiteUnspecifiedTreatedAsLax"|"ExcludeSameSiteNoneInsecure"|"ExcludeSameSiteLax"|"ExcludeSameSiteStrict"|"ExcludeInvalidSameParty";
export type SameSiteCookieWarningReason = "WarnSameSiteUnspecifiedCrossSiteContext"|"WarnSameSiteNoneInsecure"|"WarnSameSiteUnspecifiedLaxAllowUnsafe"|"WarnSameSiteStrictLaxDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeLax"|"WarnSameSiteLaxCrossDowngradeStrict"|"WarnSameSiteLaxCrossDowngradeLax";
export type SameSiteCookieOperation = "SetCookie"|"ReadCookie";
/**
@@ -710,7 +710,14 @@ time finding a specific cookie. With this, we can convey specific error
information without the cookie.
*/
export interface SameSiteCookieIssueDetails {
- cookie: AffectedCookie;
+ /**
+ * If AffectedCookie is not set then rawCookieLine contains the raw
+Set-Cookie header string. This hints at a problem where the
+cookie line is syntactically or semantically malformed in a way
+that no valid cookie could be created.
+ */
+ cookie?: AffectedCookie;
+ rawCookieLine?: string;
cookieWarningReasons: SameSiteCookieWarningReason[];
cookieExclusionReasons: SameSiteCookieExclusionReason[];
/**
@@ -921,6 +928,11 @@ add a new optional field to this type.
export interface InspectorIssue {
code: InspectorIssueCode;
details: InspectorIssueDetails;
+ /**
+ * A unique id for this issue. May be omitted if no other entity (e.g.
+exception, CDP message, etc.) is referencing this issue.
+ */
+ issueId?: string;
}
export type issueAddedPayload = {
@@ -7742,7 +7754,7 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
reportingEndpoint?: string;
reportOnlyReportingEndpoint?: string;
}
- export type CrossOriginEmbedderPolicyValue = "None"|"CorsOrCredentialless"|"RequireCorp";
+ export type CrossOriginEmbedderPolicyValue = "None"|"Credentialless"|"RequireCorp";
export interface CrossOriginEmbedderPolicyStatus {
value: CrossOriginEmbedderPolicyValue;
reportOnlyValue: CrossOriginEmbedderPolicyValue;
@@ -8311,6 +8323,76 @@ preemptively (e.g. a cache hit).
*/
issuedTokenCount?: number;
}
+ /**
+ * Fired once when parsing the .wbn file has succeeded.
+The event contains the information about the web bundle contents.
+ */
+ export type subresourceWebBundleMetadataReceivedPayload = {
+ /**
+ * Request identifier. Used to match this information to another event.
+ */
+ requestId: RequestId;
+ /**
+ * A list of URLs of resources in the subresource Web Bundle.
+ */
+ urls: string[];
+ }
+ /**
+ * Fired once when parsing the .wbn file has failed.
+ */
+ export type subresourceWebBundleMetadataErrorPayload = {
+ /**
+ * Request identifier. Used to match this information to another event.
+ */
+ requestId: RequestId;
+ /**
+ * Error message
+ */
+ errorMessage: string;
+ }
+ /**
+ * Fired when handling requests for resources within a .wbn file.
+Note: this will only be fired for resources that are requested by the webpage.
+ */
+ export type subresourceWebBundleInnerResponseParsedPayload = {
+ /**
+ * Request identifier of the subresource request
+ */
+ innerRequestId: RequestId;
+ /**
+ * URL of the subresource resource.
+ */
+ innerRequestURL: string;
+ /**
+ * Bundle request identifier. Used to match this information to another event.
+This made be absent in case when the instrumentation was enabled only
+after webbundle was parsed.
+ */
+ bundleRequestId?: RequestId;
+ }
+ /**
+ * Fired when request for resources within a .wbn file failed.
+ */
+ export type subresourceWebBundleInnerResponseErrorPayload = {
+ /**
+ * Request identifier of the subresource request
+ */
+ innerRequestId: RequestId;
+ /**
+ * URL of the subresource resource.
+ */
+ innerRequestURL: string;
+ /**
+ * Error message
+ */
+ errorMessage: string;
+ /**
+ * Bundle request identifier. Used to match this information to another event.
+This made be absent in case when the instrumentation was enabled only
+after webbundle was parsed.
+ */
+ bundleRequestId?: RequestId;
+ }
/**
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
@@ -14265,7 +14347,7 @@ enabled until the result for this command is received.
export type enableParameters = {
/**
* The maximum size in bytes of collected scripts (not referenced by other heap objects)
-the debugger can hold. Puts no limit if paramter is omitted.
+the debugger can hold. Puts no limit if parameter is omitted.
*/
maxScriptsCacheSize?: number;
}
@@ -14957,7 +15039,7 @@ when the tracking is stopped.
*/
reportProgress?: boolean;
/**
- * If true, a raw snapshot without artifical roots will be generated
+ * If true, a raw snapshot without artificial roots will be generated
*/
treatGlobalObjectsAsRoots?: boolean;
/**
@@ -15190,7 +15272,7 @@ profile startTime.
* Reports coverage delta since the last poll (either from an event like this, or from
`takePreciseCoverage` for the current isolate. May only be sent if precise code
coverage has been started. This event can be trigged by the embedder to, for example,
-trigger collection of coverage data immediatelly at a certain point in time.
+trigger collection of coverage data immediately at a certain point in time.
*/
export type preciseCoverageDeltaUpdatePayload = {
/**
@@ -15200,7 +15282,7 @@ trigger collection of coverage data immediatelly at a certain point in time.
/**
* Identifier for distinguishing coverage events.
*/
- occassion: string;
+ occasion: string;
/**
* Coverage data for the current isolate.
*/
@@ -15637,7 +15719,7 @@ script evaluation should be performed.
*/
name: string;
/**
- * A system-unique execution context identifier. Unlike the id, this is unique accross
+ * A system-unique execution context identifier. Unlike the id, this is unique across
multiple processes, so can be reliably used to identify specific context while backend
performs a cross-process navigation.
*/
@@ -16073,9 +16155,9 @@ evaluation and allows unsafe-eval. Defaults to true.
allowUnsafeEvalBlockedByCSP?: boolean;
/**
* An alternative way to specify the execution context to evaluate in.
-Compared to contextId that may be reused accross processes, this is guaranteed to be
+Compared to contextId that may be reused across processes, this is guaranteed to be
system-unique, so it can be used to prevent accidental evaluation of the expression
-in context different than intended (e.g. as a result of navigation accross process
+in context different than intended (e.g. as a result of navigation across process
boundaries).
This is mutually exclusive with `contextId`.
*/
@@ -16440,6 +16522,10 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Network.requestWillBeSentExtraInfo": Network.requestWillBeSentExtraInfoPayload;
"Network.responseReceivedExtraInfo": Network.responseReceivedExtraInfoPayload;
"Network.trustTokenOperationDone": Network.trustTokenOperationDonePayload;
+ "Network.subresourceWebBundleMetadataReceived": Network.subresourceWebBundleMetadataReceivedPayload;
+ "Network.subresourceWebBundleMetadataError": Network.subresourceWebBundleMetadataErrorPayload;
+ "Network.subresourceWebBundleInnerResponseParsed": Network.subresourceWebBundleInnerResponseParsedPayload;
+ "Network.subresourceWebBundleInnerResponseError": Network.subresourceWebBundleInnerResponseErrorPayload;
"Overlay.inspectNodeRequested": Overlay.inspectNodeRequestedPayload;
"Overlay.nodeHighlightRequested": Overlay.nodeHighlightRequestedPayload;
"Overlay.screenshotRequested": Overlay.screenshotRequestedPayload;
diff --git a/src/server/deviceDescriptorsSource.json b/src/server/deviceDescriptorsSource.json
index be5852f1a8..8302d5c437 100644
--- a/src/server/deviceDescriptorsSource.json
+++ b/src/server/deviceDescriptorsSource.json
@@ -110,7 +110,7 @@
"defaultBrowserType": "webkit"
},
"Galaxy S5": {
- "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 640
@@ -121,7 +121,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy S5 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 360
@@ -132,7 +132,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy S8": {
- "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 740
@@ -143,7 +143,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy S8 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 740,
"height": 360
@@ -154,7 +154,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy S9+": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 320,
"height": 658
@@ -165,7 +165,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy S9+ landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 658,
"height": 320
@@ -176,7 +176,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy Tab S4": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Safari/537.36",
"viewport": {
"width": 712,
"height": 1138
@@ -187,7 +187,7 @@
"defaultBrowserType": "chromium"
},
"Galaxy Tab S4 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Safari/537.36",
"viewport": {
"width": 1138,
"height": 712
@@ -708,7 +708,7 @@
"defaultBrowserType": "webkit"
},
"LG Optimus L70": {
- "userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 384,
"height": 640
@@ -719,7 +719,7 @@
"defaultBrowserType": "chromium"
},
"LG Optimus L70 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 384
@@ -730,7 +730,7 @@
"defaultBrowserType": "chromium"
},
"Microsoft Lumia 550": {
- "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36 Edge/14.14263",
+ "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 640,
"height": 360
@@ -741,7 +741,7 @@
"defaultBrowserType": "chromium"
},
"Microsoft Lumia 550 landscape": {
- "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36 Edge/14.14263",
+ "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 360,
"height": 640
@@ -752,7 +752,7 @@
"defaultBrowserType": "chromium"
},
"Microsoft Lumia 950": {
- "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36 Edge/14.14263",
+ "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 360,
"height": 640
@@ -763,7 +763,7 @@
"defaultBrowserType": "chromium"
},
"Microsoft Lumia 950 landscape": {
- "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36 Edge/14.14263",
+ "userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36 Edge/14.14263",
"viewport": {
"width": 640,
"height": 360
@@ -774,7 +774,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 10": {
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Safari/537.36",
"viewport": {
"width": 800,
"height": 1280
@@ -785,7 +785,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 10 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Safari/537.36",
"viewport": {
"width": 1280,
"height": 800
@@ -796,7 +796,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 4": {
- "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 384,
"height": 640
@@ -807,7 +807,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 4 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 384
@@ -818,7 +818,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 5": {
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 640
@@ -829,7 +829,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 5 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 360
@@ -840,7 +840,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 5X": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 412,
"height": 732
@@ -851,7 +851,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 5X landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 732,
"height": 412
@@ -862,7 +862,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 6": {
- "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 412,
"height": 732
@@ -873,7 +873,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 6 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 732,
"height": 412
@@ -884,7 +884,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 6P": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 412,
"height": 732
@@ -895,7 +895,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 6P landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 732,
"height": 412
@@ -906,7 +906,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 7": {
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Safari/537.36",
"viewport": {
"width": 600,
"height": 960
@@ -917,7 +917,7 @@
"defaultBrowserType": "chromium"
},
"Nexus 7 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Safari/537.36",
"viewport": {
"width": 960,
"height": 600
@@ -972,7 +972,7 @@
"defaultBrowserType": "webkit"
},
"Pixel 2": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 411,
"height": 731
@@ -983,7 +983,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 2 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 731,
"height": 411
@@ -994,7 +994,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 2 XL": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 411,
"height": 823
@@ -1005,7 +1005,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 2 XL landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 823,
"height": 411
@@ -1016,7 +1016,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 3": {
- "userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 393,
"height": 786
@@ -1027,7 +1027,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 3 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 786,
"height": 393
@@ -1038,7 +1038,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4": {
- "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 353,
"height": 745
@@ -1049,7 +1049,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 745,
"height": 353
@@ -1060,7 +1060,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4a (5G)": {
- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"screen": {
"width": 412,
"height": 892
@@ -1075,7 +1075,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 4a (5G) landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"screen": {
"height": 892,
"width": 412
@@ -1090,7 +1090,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 5": {
- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"screen": {
"width": 393,
"height": 851
@@ -1105,7 +1105,7 @@
"defaultBrowserType": "chromium"
},
"Pixel 5 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"screen": {
"width": 851,
"height": 393
@@ -1120,7 +1120,7 @@
"defaultBrowserType": "chromium"
},
"Moto G4": {
- "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 360,
"height": 640
@@ -1131,7 +1131,7 @@
"defaultBrowserType": "chromium"
},
"Moto G4 landscape": {
- "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4513.0 Mobile Safari/537.36",
+ "userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4530.0 Mobile Safari/537.36",
"viewport": {
"width": 640,
"height": 360
diff --git a/types/protocol.d.ts b/types/protocol.d.ts
index d262acb9d2..3f669ea0e3 100644
--- a/types/protocol.d.ts
+++ b/types/protocol.d.ts
@@ -701,7 +701,7 @@ associated with some application cache.
export interface AffectedFrame {
frameId: Page.FrameId;
}
- export type SameSiteCookieExclusionReason = "ExcludeSameSiteUnspecifiedTreatedAsLax"|"ExcludeSameSiteNoneInsecure"|"ExcludeSameSiteLax"|"ExcludeSameSiteStrict";
+ export type SameSiteCookieExclusionReason = "ExcludeSameSiteUnspecifiedTreatedAsLax"|"ExcludeSameSiteNoneInsecure"|"ExcludeSameSiteLax"|"ExcludeSameSiteStrict"|"ExcludeInvalidSameParty";
export type SameSiteCookieWarningReason = "WarnSameSiteUnspecifiedCrossSiteContext"|"WarnSameSiteNoneInsecure"|"WarnSameSiteUnspecifiedLaxAllowUnsafe"|"WarnSameSiteStrictLaxDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeStrict"|"WarnSameSiteStrictCrossDowngradeLax"|"WarnSameSiteLaxCrossDowngradeStrict"|"WarnSameSiteLaxCrossDowngradeLax";
export type SameSiteCookieOperation = "SetCookie"|"ReadCookie";
/**
@@ -710,7 +710,14 @@ time finding a specific cookie. With this, we can convey specific error
information without the cookie.
*/
export interface SameSiteCookieIssueDetails {
- cookie: AffectedCookie;
+ /**
+ * If AffectedCookie is not set then rawCookieLine contains the raw
+Set-Cookie header string. This hints at a problem where the
+cookie line is syntactically or semantically malformed in a way
+that no valid cookie could be created.
+ */
+ cookie?: AffectedCookie;
+ rawCookieLine?: string;
cookieWarningReasons: SameSiteCookieWarningReason[];
cookieExclusionReasons: SameSiteCookieExclusionReason[];
/**
@@ -921,6 +928,11 @@ add a new optional field to this type.
export interface InspectorIssue {
code: InspectorIssueCode;
details: InspectorIssueDetails;
+ /**
+ * A unique id for this issue. May be omitted if no other entity (e.g.
+exception, CDP message, etc.) is referencing this issue.
+ */
+ issueId?: string;
}
export type issueAddedPayload = {
@@ -7742,7 +7754,7 @@ https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-
reportingEndpoint?: string;
reportOnlyReportingEndpoint?: string;
}
- export type CrossOriginEmbedderPolicyValue = "None"|"CorsOrCredentialless"|"RequireCorp";
+ export type CrossOriginEmbedderPolicyValue = "None"|"Credentialless"|"RequireCorp";
export interface CrossOriginEmbedderPolicyStatus {
value: CrossOriginEmbedderPolicyValue;
reportOnlyValue: CrossOriginEmbedderPolicyValue;
@@ -8311,6 +8323,76 @@ preemptively (e.g. a cache hit).
*/
issuedTokenCount?: number;
}
+ /**
+ * Fired once when parsing the .wbn file has succeeded.
+The event contains the information about the web bundle contents.
+ */
+ export type subresourceWebBundleMetadataReceivedPayload = {
+ /**
+ * Request identifier. Used to match this information to another event.
+ */
+ requestId: RequestId;
+ /**
+ * A list of URLs of resources in the subresource Web Bundle.
+ */
+ urls: string[];
+ }
+ /**
+ * Fired once when parsing the .wbn file has failed.
+ */
+ export type subresourceWebBundleMetadataErrorPayload = {
+ /**
+ * Request identifier. Used to match this information to another event.
+ */
+ requestId: RequestId;
+ /**
+ * Error message
+ */
+ errorMessage: string;
+ }
+ /**
+ * Fired when handling requests for resources within a .wbn file.
+Note: this will only be fired for resources that are requested by the webpage.
+ */
+ export type subresourceWebBundleInnerResponseParsedPayload = {
+ /**
+ * Request identifier of the subresource request
+ */
+ innerRequestId: RequestId;
+ /**
+ * URL of the subresource resource.
+ */
+ innerRequestURL: string;
+ /**
+ * Bundle request identifier. Used to match this information to another event.
+This made be absent in case when the instrumentation was enabled only
+after webbundle was parsed.
+ */
+ bundleRequestId?: RequestId;
+ }
+ /**
+ * Fired when request for resources within a .wbn file failed.
+ */
+ export type subresourceWebBundleInnerResponseErrorPayload = {
+ /**
+ * Request identifier of the subresource request
+ */
+ innerRequestId: RequestId;
+ /**
+ * URL of the subresource resource.
+ */
+ innerRequestURL: string;
+ /**
+ * Error message
+ */
+ errorMessage: string;
+ /**
+ * Bundle request identifier. Used to match this information to another event.
+This made be absent in case when the instrumentation was enabled only
+after webbundle was parsed.
+ */
+ bundleRequestId?: RequestId;
+ }
/**
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
@@ -14265,7 +14347,7 @@ enabled until the result for this command is received.
export type enableParameters = {
/**
* The maximum size in bytes of collected scripts (not referenced by other heap objects)
-the debugger can hold. Puts no limit if paramter is omitted.
+the debugger can hold. Puts no limit if parameter is omitted.
*/
maxScriptsCacheSize?: number;
}
@@ -14957,7 +15039,7 @@ when the tracking is stopped.
*/
reportProgress?: boolean;
/**
- * If true, a raw snapshot without artifical roots will be generated
+ * If true, a raw snapshot without artificial roots will be generated
*/
treatGlobalObjectsAsRoots?: boolean;
/**
@@ -15190,7 +15272,7 @@ profile startTime.
* Reports coverage delta since the last poll (either from an event like this, or from
`takePreciseCoverage` for the current isolate. May only be sent if precise code
coverage has been started. This event can be trigged by the embedder to, for example,
-trigger collection of coverage data immediatelly at a certain point in time.
+trigger collection of coverage data immediately at a certain point in time.
*/
export type preciseCoverageDeltaUpdatePayload = {
/**
@@ -15200,7 +15282,7 @@ trigger collection of coverage data immediatelly at a certain point in time.
/**
* Identifier for distinguishing coverage events.
*/
- occassion: string;
+ occasion: string;
/**
* Coverage data for the current isolate.
*/
@@ -15637,7 +15719,7 @@ script evaluation should be performed.
*/
name: string;
/**
- * A system-unique execution context identifier. Unlike the id, this is unique accross
+ * A system-unique execution context identifier. Unlike the id, this is unique across
multiple processes, so can be reliably used to identify specific context while backend
performs a cross-process navigation.
*/
@@ -16073,9 +16155,9 @@ evaluation and allows unsafe-eval. Defaults to true.
allowUnsafeEvalBlockedByCSP?: boolean;
/**
* An alternative way to specify the execution context to evaluate in.
-Compared to contextId that may be reused accross processes, this is guaranteed to be
+Compared to contextId that may be reused across processes, this is guaranteed to be
system-unique, so it can be used to prevent accidental evaluation of the expression
-in context different than intended (e.g. as a result of navigation accross process
+in context different than intended (e.g. as a result of navigation across process
boundaries).
This is mutually exclusive with `contextId`.
*/
@@ -16440,6 +16522,10 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
"Network.requestWillBeSentExtraInfo": Network.requestWillBeSentExtraInfoPayload;
"Network.responseReceivedExtraInfo": Network.responseReceivedExtraInfoPayload;
"Network.trustTokenOperationDone": Network.trustTokenOperationDonePayload;
+ "Network.subresourceWebBundleMetadataReceived": Network.subresourceWebBundleMetadataReceivedPayload;
+ "Network.subresourceWebBundleMetadataError": Network.subresourceWebBundleMetadataErrorPayload;
+ "Network.subresourceWebBundleInnerResponseParsed": Network.subresourceWebBundleInnerResponseParsedPayload;
+ "Network.subresourceWebBundleInnerResponseError": Network.subresourceWebBundleInnerResponseErrorPayload;
"Overlay.inspectNodeRequested": Overlay.inspectNodeRequestedPayload;
"Overlay.nodeHighlightRequested": Overlay.nodeHighlightRequestedPayload;
"Overlay.screenshotRequested": Overlay.screenshotRequestedPayload;