Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Automation: Automation.inspectBrowsingContext should have an opti…
…on to enable timeline auto-capturing https://bugs.webkit.org/show_bug.cgi?id=159004 <rdar://problem/26931269> Reviewed by Joseph Pecoraro. Automation.inspectBrowsingContext was added to make it easier to hit breakpoints inside of code evaluated using Automation.evaluateJavaScriptFunction. I recently changed the behavior of this command to automatically start profiling the page as soon as the inspector attached so that a full timeline recording could be obtained. However, starting a timeline recording turns off the debugger, so this command is not so useful for debugging right now. Add a new option, enableAutoCapturing, to the inspectBrowsingContext command. Don't toggle profiling automatically unless this optional flag is present and set to true. * UIProcess/Automation/Automation.json: * UIProcess/Automation/WebAutomationSession.cpp: (WebKit::WebAutomationSession::inspectBrowsingContext): (WebKit::WebAutomationSession::inspectorFrontendLoaded): Deleted. * UIProcess/Automation/WebAutomationSession.h: Canonical link: https://commits.webkit.org/177118@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@202351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
33 additions
and 7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters