Summary: | Web Automation: Automation.inspectBrowsingContext should bring Web Inspector to front automatically | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | BJ Burg <bburg> | ||||
Component: | WebDriver | Assignee: | BJ Burg <bburg> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bburg, hi, joepeck, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
BJ Burg
2020-04-07 11:50:29 PDT
Created attachment 395719 [details]
Patch
Comment on attachment 395719 [details]
Patch
rs=me
Comment on attachment 395719 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=395719&action=review r=me > Source/WebKit/UIProcess/Automation/mac/WebAutomationSessionMac.mm:59 > if (page->inspector()) { NIT: why not save this result so you don't have to call it again? ``` if (auto* inspector = page->inspector()) inspector->show(); ``` Committed r259665: <https://trac.webkit.org/changeset/259665> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395719 [details]. |