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

Issue 630806 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 587560
Owner:
Last visit > 30 days ago
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Events are dispatched to the page paused on breakpoint

Project Member Reported by avime...@google.com, Jul 23 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36

Steps to reproduce the problem:
1. Open page http://fiddle.jshell.net/jxcyn0bj/1/show/
2. Open Dev tools, change console to show logs for fiddle.jshell.net
3. Change tab and come back to the page

The relevant code on the demo page is below:

window.addEventListener('visibilitychange', function() {
  console.log('hello');
  debugger;
});

What is the expected behavior?
Console should only print 'hello' once and then stop on debugger

After continuing, hello should have been printed again and debugger hit again.

What went wrong?
'Hello' was printed twice but the breakpoint was hit only once.

Did this work before? N/A 

Chrome version: 51.0.2704.106  Channel: n/a
OS Version: 13.10
Flash Version: Shockwave Flash 22.0 r0
 

Comment 1 by caseq@chromium.org, Jul 23 2016

Cc: dgozman@chromium.org pfeldman@chromium.org
Components: -Platform>DevTools Platform>DevTools>JavaScript
Mergedinto: 587560
Owner: kozyatinskiy@chromium.org
Status: Duplicate (was: Unconfirmed)
Summary: Events are dispatched to the page paused on breakpoint (was: Breakpoints do not get hit if the tab changes.)

Sign in to add a comment