Skip to content

Commit f50f228

Browse files
authored
browser(chromium): roll chromium to r790602 (#3082)
1 parent 773ee08 commit f50f228

File tree

3 files changed

+130
-3
lines changed

3 files changed

+130
-3
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-86.0.4197.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-78.0b5-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/)
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-86.0.4209.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-78.0b5-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/)
44

55
##### [Docs](docs/README.md) | [API reference](docs/api.md) | [Changelog](https://github.com/microsoft/playwright/releases)
66

77
Playwright is a Node 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 -->86.0.4197.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
11+
| Chromium <!-- GEN:chromium-version -->86.0.4209.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1212
| WebKit 14.0 | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1313
| Firefox <!-- GEN:firefox-version -->78.0b5<!-- 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": "786218"
6+
"revision": "790602"
77
},
88
{
99
"name": "firefox",

src/chromium/protocol.ts

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,11 @@ some CSP errors in the future.
735735
frame: AffectedFrame;
736736
}
737737
export type ContentSecurityPolicyViolationType = "kInlineViolation"|"kEvalViolation"|"kURLViolation"|"kTrustedTypesSinkViolation"|"kTrustedTypesPolicyViolation";
738+
export interface SourceCodeLocation {
739+
url: string;
740+
lineNumber: number;
741+
columnNumber: number;
742+
}
738743
export interface ContentSecurityPolicyIssueDetails {
739744
/**
740745
* The url not included in allowed sources.
@@ -746,6 +751,7 @@ some CSP errors in the future.
746751
violatedDirective: string;
747752
contentSecurityPolicyViolationType: ContentSecurityPolicyViolationType;
748753
frameAncestor?: AffectedFrame;
754+
sourceCodeLocation?: SourceCodeLocation;
749755
}
750756
/**
751757
* A unique identifier for the type of issue. Each type may use one of the
@@ -1670,8 +1676,34 @@ available).
16701676
*/
16711677
glyphCount: number;
16721678
}
1679+
/**
1680+
* Information about font variation axes for variable fonts
1681+
*/
1682+
export interface FontVariationAxis {
1683+
/**
1684+
* The font-variation-setting tag (a.k.a. "axis tag").
1685+
*/
1686+
tag: string;
1687+
/**
1688+
* Human-readable variation name in the default language (normally, "en").
1689+
*/
1690+
name: string;
1691+
/**
1692+
* The minimum value (inclusive) the font supports for this tag.
1693+
*/
1694+
minValue: number;
1695+
/**
1696+
* The maximum value (inclusive) the font supports for this tag.
1697+
*/
1698+
maxValue: number;
1699+
/**
1700+
* The default value.
1701+
*/
1702+
defaultValue: number;
1703+
}
16731704
/**
16741705
* Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions
1706+
and additional information such as platformFontFamily and fontVariationAxes.
16751707
*/
16761708
export interface FontFace {
16771709
/**
@@ -1706,6 +1738,10 @@ available).
17061738
* The resolved platform font family
17071739
*/
17081740
platformFontFamily: string;
1741+
/**
1742+
* Available variation settings (a.k.a. "axes").
1743+
*/
1744+
fontVariationAxes?: FontVariationAxis[];
17091745
}
17101746
/**
17111747
* CSS keyframes rule representation.
@@ -4494,6 +4530,23 @@ flattened.
44944530
*/
44954531
angle: number;
44964532
}
4533+
export interface DisplayFeature {
4534+
/**
4535+
* Orientation of a display feature in relation to screen
4536+
*/
4537+
orientation: "vertical"|"horizontal";
4538+
/**
4539+
* The offset from the screen origin in either the x (for vertical
4540+
orientation) or y (for horizontal orientation) direction.
4541+
*/
4542+
offset: number;
4543+
/**
4544+
* A display feature may mask content such that it is not physically
4545+
displayed - this length along with the offset describes this area.
4546+
A display feature that only splits content will have a 0 mask_length.
4547+
*/
4548+
maskLength: number;
4549+
}
44974550
export interface MediaFeature {
44984551
name: string;
44994552
value: string;
@@ -4653,6 +4706,11 @@ autosizing and more.
46534706
change is not observed by the page, e.g. viewport-relative elements do not change positions.
46544707
*/
46554708
viewport?: Page.Viewport;
4709+
/**
4710+
* If set, the display feature of a multi-segment screen. If not set, multi-segment support
4711+
is turned-off.
4712+
*/
4713+
displayFeature?: DisplayFeature;
46564714
}
46574715
export type setDeviceMetricsOverrideReturnValue = {
46584716
}
@@ -6447,6 +6505,12 @@ milliseconds relatively to this requestTime.
64476505
* Loading priority of a resource request.
64486506
*/
64496507
export type ResourcePriority = "VeryLow"|"Low"|"Medium"|"High"|"VeryHigh";
6508+
/**
6509+
* Post data entry for HTTP request
6510+
*/
6511+
export interface PostDataEntry {
6512+
bytes?: binary;
6513+
}
64506514
/**
64516515
* HTTP request data.
64526516
*/
@@ -6475,6 +6539,10 @@ milliseconds relatively to this requestTime.
64756539
* True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long.
64766540
*/
64776541
hasPostData?: boolean;
6542+
/**
6543+
* Request body elements. This will be converted from base64 to binary
6544+
*/
6545+
postDataEntries?: PostDataEntry[];
64786546
/**
64796547
* The mixed content type of the request.
64806548
*/
@@ -8047,6 +8115,14 @@ continueInterceptedRequest call.
80478115
* Show area name labels (default: false).
80488116
*/
80498117
showAreaNames?: boolean;
8118+
/**
8119+
* Show line name labels (default: false).
8120+
*/
8121+
showLineNames?: boolean;
8122+
/**
8123+
* Show track size labels (default: false).
8124+
*/
8125+
showTrackSizes?: boolean;
80508126
/**
80518127
* The grid container border highlight color (default: transparent).
80528128
*/
@@ -8150,6 +8226,19 @@ continueInterceptedRequest call.
81508226
gridHighlightConfig?: GridHighlightConfig;
81518227
}
81528228
export type ColorFormat = "rgb"|"hsl"|"hex";
8229+
/**
8230+
* Configurations for Persistent Grid Highlight
8231+
*/
8232+
export interface GridNodeHighlightConfig {
8233+
/**
8234+
* A descriptor for the highlight appearance.
8235+
*/
8236+
gridHighlightConfig: GridHighlightConfig;
8237+
/**
8238+
* Identifier of the node to highlight.
8239+
*/
8240+
nodeId: DOM.NodeId;
8241+
}
81538242
/**
81548243
* Configuration for dual screen hinge
81558244
*/
@@ -8244,6 +8333,21 @@ user manually inspects an element.
82448333
*/
82458334
highlight: { [key: string]: string };
82468335
}
8336+
/**
8337+
* For Persistent Grid testing.
8338+
*/
8339+
export type getGridHighlightObjectsForTestParameters = {
8340+
/**
8341+
* Ids of the node to get highlight object for.
8342+
*/
8343+
nodeIds: DOM.NodeId[];
8344+
}
8345+
export type getGridHighlightObjectsForTestReturnValue = {
8346+
/**
8347+
* Grid Highlight data for the node ids provided.
8348+
*/
8349+
highlights: { [key: string]: string };
8350+
}
82478351
/**
82488352
* Hides any highlight.
82498353
*/
@@ -8406,6 +8510,17 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
84068510
}
84078511
export type setShowFPSCounterReturnValue = {
84088512
}
8513+
/**
8514+
* Highlight multiple elements with the CSS Grid overlay.
8515+
*/
8516+
export type setShowGridOverlaysParameters = {
8517+
/**
8518+
* An array of node identifiers and descriptors for the highlight appearance.
8519+
*/
8520+
gridNodeHighlightConfigs: GridNodeHighlightConfig[];
8521+
}
8522+
export type setShowGridOverlaysReturnValue = {
8523+
}
84098524
/**
84108525
* Requests that backend shows paint rectangles
84118526
*/
@@ -8482,6 +8597,10 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
84828597
* Unique frame identifier.
84838598
*/
84848599
export type FrameId = string;
8600+
/**
8601+
* Indicates whether a frame has been identified as an ad.
8602+
*/
8603+
export type AdFrameType = "none"|"child"|"root";
84858604
/**
84868605
* Information about the Frame on the page.
84878606
*/
@@ -8522,6 +8641,10 @@ Backend then generates 'inspectNodeRequested' event upon element selection.
85228641
* If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.
85238642
*/
85248643
unreachableUrl?: string;
8644+
/**
8645+
* Indicates whether this frame was tagged as an ad.
8646+
*/
8647+
adFrameType?: AdFrameType;
85258648
}
85268649
/**
85278650
* Information about the Resource on the page.
@@ -15184,6 +15307,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1518415307
"Overlay.disable": Overlay.disableParameters;
1518515308
"Overlay.enable": Overlay.enableParameters;
1518615309
"Overlay.getHighlightObjectForTest": Overlay.getHighlightObjectForTestParameters;
15310+
"Overlay.getGridHighlightObjectsForTest": Overlay.getGridHighlightObjectsForTestParameters;
1518715311
"Overlay.hideHighlight": Overlay.hideHighlightParameters;
1518815312
"Overlay.highlightFrame": Overlay.highlightFrameParameters;
1518915313
"Overlay.highlightNode": Overlay.highlightNodeParameters;
@@ -15194,6 +15318,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1519415318
"Overlay.setPausedInDebuggerMessage": Overlay.setPausedInDebuggerMessageParameters;
1519515319
"Overlay.setShowDebugBorders": Overlay.setShowDebugBordersParameters;
1519615320
"Overlay.setShowFPSCounter": Overlay.setShowFPSCounterParameters;
15321+
"Overlay.setShowGridOverlays": Overlay.setShowGridOverlaysParameters;
1519715322
"Overlay.setShowPaintRects": Overlay.setShowPaintRectsParameters;
1519815323
"Overlay.setShowLayoutShiftRegions": Overlay.setShowLayoutShiftRegionsParameters;
1519915324
"Overlay.setShowScrollBottleneckRects": Overlay.setShowScrollBottleneckRectsParameters;
@@ -15667,6 +15792,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1566715792
"Overlay.disable": Overlay.disableReturnValue;
1566815793
"Overlay.enable": Overlay.enableReturnValue;
1566915794
"Overlay.getHighlightObjectForTest": Overlay.getHighlightObjectForTestReturnValue;
15795+
"Overlay.getGridHighlightObjectsForTest": Overlay.getGridHighlightObjectsForTestReturnValue;
1567015796
"Overlay.hideHighlight": Overlay.hideHighlightReturnValue;
1567115797
"Overlay.highlightFrame": Overlay.highlightFrameReturnValue;
1567215798
"Overlay.highlightNode": Overlay.highlightNodeReturnValue;
@@ -15677,6 +15803,7 @@ unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1567715803
"Overlay.setPausedInDebuggerMessage": Overlay.setPausedInDebuggerMessageReturnValue;
1567815804
"Overlay.setShowDebugBorders": Overlay.setShowDebugBordersReturnValue;
1567915805
"Overlay.setShowFPSCounter": Overlay.setShowFPSCounterReturnValue;
15806+
"Overlay.setShowGridOverlays": Overlay.setShowGridOverlaysReturnValue;
1568015807
"Overlay.setShowPaintRects": Overlay.setShowPaintRectsReturnValue;
1568115808
"Overlay.setShowLayoutShiftRegions": Overlay.setShowLayoutShiftRegionsReturnValue;
1568215809
"Overlay.setShowScrollBottleneckRects": Overlay.setShowScrollBottleneckRectsReturnValue;

0 commit comments

Comments
 (0)