From cf8f662f131f21f3506f60b7f7ef6079131bfb9b Mon Sep 17 00:00:00 2001
From: Playwright Service <89237858+playwrightmachine@users.noreply.github.com>
Date: Thu, 8 Sep 2022 09:00:55 -0700
Subject: [PATCH] feat(webkit): roll to r1715 (#17192)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
---
packages/playwright-core/browsers.json | 2 +-
.../src/server/webkit/protocol.d.ts | 23 ++++++++++++++++++-
2 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json
index f4086e2703..1d395aefcb 100644
--- a/packages/playwright-core/browsers.json
+++ b/packages/playwright-core/browsers.json
@@ -33,7 +33,7 @@
},
{
"name": "webkit",
- "revision": "1714",
+ "revision": "1715",
"installByDefault": true,
"revisionOverrides": {
"mac10.14": "1446",
diff --git a/packages/playwright-core/src/server/webkit/protocol.d.ts b/packages/playwright-core/src/server/webkit/protocol.d.ts
index d364a4386c..229bc95fa1 100644
--- a/packages/playwright-core/src/server/webkit/protocol.d.ts
+++ b/packages/playwright-core/src/server/webkit/protocol.d.ts
@@ -910,7 +910,7 @@ export module Protocol {
/**
* Relevant layout information about the node. Things not in this list are not important to Web Inspector.
*/
- export type LayoutFlag = "rendered"|"flex"|"grid"|"event";
+ export type LayoutFlag = "rendered"|"scrollable"|"flex"|"grid"|"event";
/**
* The mode for how layout context type changes are handled (default: Observed). Observed limits handling to those nodes already known to the frontend by other means (generally, this means the node is a visible item in the Elements tab). All informs the frontend of all layout context type changes and all nodes with a known layout context are sent to the frontend.
*/
@@ -4024,6 +4024,25 @@ might return multiple quads for inline nodes.
*/
details: FunctionDetails;
}
+ /**
+ * Returns a list of valid breakpoint locations within the given location range.
+ */
+ export type getBreakpointLocationsParameters = {
+ /**
+ * Starting location to look for breakpoint locations after (inclusive). Must have same scriptId as end.
+ */
+ start: Location;
+ /**
+ * Ending location to look for breakpoint locations before (exclusive). Must have same scriptId as start.
+ */
+ end: Location;
+ }
+ export type getBreakpointLocationsReturnValue = {
+ /**
+ * List of resolved breakpoint locations.
+ */
+ locations: Location[];
+ }
/**
* Control whether the debugger pauses execution before `debugger` statements.
*/
@@ -9130,6 +9149,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Debugger.searchInContent": Debugger.searchInContentParameters;
"Debugger.getScriptSource": Debugger.getScriptSourceParameters;
"Debugger.getFunctionDetails": Debugger.getFunctionDetailsParameters;
+ "Debugger.getBreakpointLocations": Debugger.getBreakpointLocationsParameters;
"Debugger.setPauseOnDebuggerStatements": Debugger.setPauseOnDebuggerStatementsParameters;
"Debugger.setPauseOnExceptions": Debugger.setPauseOnExceptionsParameters;
"Debugger.setPauseOnAssertions": Debugger.setPauseOnAssertionsParameters;
@@ -9437,6 +9457,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Debugger.searchInContent": Debugger.searchInContentReturnValue;
"Debugger.getScriptSource": Debugger.getScriptSourceReturnValue;
"Debugger.getFunctionDetails": Debugger.getFunctionDetailsReturnValue;
+ "Debugger.getBreakpointLocations": Debugger.getBreakpointLocationsReturnValue;
"Debugger.setPauseOnDebuggerStatements": Debugger.setPauseOnDebuggerStatementsReturnValue;
"Debugger.setPauseOnExceptions": Debugger.setPauseOnExceptionsReturnValue;
"Debugger.setPauseOnAssertions": Debugger.setPauseOnAssertionsReturnValue;