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;