New issue
Advanced search Search tips

Issue 608806 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocking:
issue 497721



Sign in to add a comment

Running snippet that uses setInterval continues to execute code across page loads.

Project Member Reported by ericbidelman@chromium.org, May 3 2016

Issue description

Version: 52.0.2723.0
OS: Mac OS X 

What steps will reproduce the problem?
(1) create a snippet that uses setInterval() and run it:

setInterval(function() {
  console.log('here');
}, 500);

(2) reload the page


The snippet continues to execute across page loads (e.g. 'here' is logged to the console in the example). Opening and closing devtools does no good. The only way I've found to stop it is to kill Chrome entirely.


Please use labels and text to provide additional information.

 
Actually, this looks like this might be because Canary is selecting the service worker context by default again and when I run the snippet, it gets associated with the sw and never stops. 

Ugh. Is that a regression? I thought we fixed the context issue.


Screen Shot 2016-05-03 at 10.26.54 AM.png
54.0 KB View Download
Blocking: 497721
Owner: pfeldman@chromium.org
Status: Assigned (was: Untriaged)
Original bug: https://bugs.chromium.org/p/chromium/issues/detail?id=497721
Original CL: https://codereview.chromium.org/1171753002

It looks like it snuck between the navigation logic for context attachment. 

I imagine this situation isn't very reproducible, right?
Yea, it's flaky to repo.
Status: Fixed (was: Assigned)
Can't repro it at this point.

Sign in to add a comment