New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 8 users
Status: Fixed
Last visit 22 days ago
Closed: Apr 2014
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Sign in to add a comment
No way to inspect an element without triggering a blur event
Reported by, Nov 12 2012 Back to list
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.5 Safari/537.17

Steps to reproduce the problem:
Screencast of the problem:

1. Open
2. Type "a" in the input field
3. Press Ctrl + Shift + i (Cmd + Shift + i on Mac OS X) to inspect the autocomplete widget

What is the expected behavior?
The widget does’t hide so I can inspect it freely.

What went wrong?
The widget hides because the current page becomes inactive and a blur event occurs on the input field.

Did this work before? No 

Chrome version: 24.0.1312.5  Channel: dev
OS Version: OS X 10.8.2
Comment 1 by, Nov 12 2012
Labels: Action-BisectNeeded
Labels: -Action-BisectNeeded
Status: Assigned
Labels: -Via-Wizard Action-FeedbackNeeded
Please try the following:

1. Open the docked DevTools first (the undocked approach will not work due to the OS limitations.)
2. Once the autocomplete box is displayed, right-click it and select "Inspect Element" in the context menu. The focus will move to the DevTools but the autocomplete box will still be shown (this worked for me on Linux, Chrome Canary 25. Your mileage may vary.)

Does this work for you?
Comment 5 by, Nov 21 2012
It doesn’t. You can see it on at 0:13.
Labels: -Action-FeedbackNeeded
Thanks. I'm afraid this is also an OS limitation. I'll see if there's something that can be done about it.
Project Member Comment 7 by, Mar 10 2013
Labels: -Feature-DevTools Cr-Platform-DevTools
Comment 8 by, Mar 27 2014
This issue reproduced in Firefox 30.0a2 (2014-03-25) for Mac. However, it is possible to pause the debugger in Firefox and inspect the autocomplete div, but not in Chrome. In Chrome hitting pause unblurs the <input> and loses the <div>.
Labels: Needs-Feedback
Tested the same on mac 10.9 chrome version 36.0.1933.0 (Official Build 262849) canary as per comment #4 - observed that after the focus changed to the dev tools the autocomplete drop down box on the page disappears. 

Could you please let us know if i am missing something here. If this is the issue it is still present post the revision  r262492 . Please confirm
Project Member Comment 11 by, Apr 14 2014
The following revision refers to this bug:

r171463 | | 2014-04-14T14:22:21.416563Z

Changed paths:

DevTools: Handle the F8 shortcut forwarded from the inspected page

R=pfeldman, vsevik
BUG= 160510 

Review URL:
Labels: -OS-Mac -Needs-Feedback OS-All
Status: Fixed
Now pressing F8 in the inspected page (when DevTools are opened) will halt JS execution, and no focus loss will occur.
Comment 13 by, Aug 18 2014
This has regressed. Sure you can f12 and then f8, but if you f12, click on the page so that it has focus again, then f8... nothing.
@kevin: what Chrome version are you using?
Sign in to add a comment