New issue
Advanced search Search tips

Issue 760221 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 785692
Owner:
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

DevTools: context selector switches to top when printing a node in console while paused

Project Member Reported by l...@chromium.org, Aug 29 2017

Issue description

What steps will reproduce the problem?
(1) Open a site with a iFrame that runs JS, open DevTools without loading Elements Panel
(2) Add breakpoint in the iFrame's JS and pause there
(3) Observe that the console context selector switches to iFrame context on pause
(4) Evaluate any node in console (e.g. `document.body`)

What is the expected result?
Console context should stay on iFrame context

What happens instead?
Console context switches to 'top'
 

Comment 1 by l...@chromium.org, Aug 29 2017

Another symptom with the same cause:
- Open newtab page
- Right click, inspect an element
- Set a breakpoint in the iFrame
- Refresh to pause on the breakpoint

Expected: context selector should be the iframe
Actual: context selector switches to 'top'

Comment 2 by l...@chromium.org, Dec 8 2017

Mergedinto: 785692
Status: Duplicate (was: Assigned)

Sign in to add a comment