New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 788095 link

Starred by 7 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Extension using devtools protocol loses focus on Debugger.pause

Reported by giann...@gmail.com, Nov 23 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0

Steps to reproduce the problem:
1. Implement an devtool extension with debugger permissions
2. Attach and enable debugging
3. Send "Debugger.pause" command

What is the expected behavior?
The panel from which the pause command was sent keeps focus

What went wrong?
The Source panel takes focus upon pause command

Did this work before? No 

Chrome version: <Copy from: 'about:version'>  Channel: n/a
OS Version: OS X 10.13
Flash Version:
 

Comment 1 by giann...@gmail.com, Nov 23 2017

For context here's my usecase:

I'm writing a devtool extension (https://github.com/fengari-lua/fengari-devtools/tree/debugger) for this project: https://github.com/fengari-lua/fengari

Fengari runs Lua in the browser.

The idea for my extension is to be able to pause and step through Lua code. The only way to pause JS is to use devtool protocol. But if the Source tab take focus upon each "Debugger.pause" command, it's not really usable.
Owner: kozy@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 3 by kozy@chromium.org, Dec 13 2017

Cc: kozy@chromium.org lushnikov@chromium.org
 Issue 657676  has been merged into this issue.

Sign in to add a comment