disconnectme/disconnect — Issue #31: beforeload event firing infinitely
Author: garyjob
Created: 2011-12-21 02:39:22+00:00
State: open

What steps will reproduce the problem?
1. Visit the Python Twisted page at http://twistedmatrix.com/trac/ (required a reload in some cases)
2.
3.

What is the expected output? What do you see instead?

Expected behavior would be normal extension output. Instead, you will see block count increasing rapidly, 100% CPU utilization, increasing without bound

What version of the product are you using? On what operating system?

Version 3.0.3 of the extension, 10.0.648.133 of Google Chrome, Mac OS X 10.6.6

Please provide any additional information below.

I loaded the page at the URL listed above. Observed the block count spinning up rapidly. I paused the script and stepped through until I moved up the call stack into the JS belonging to the extension (content.js). Set a breakpoint in the 'beforeload' event handler. Observed calls into this function repeating infinitely, each call bumping the block counter.

Notes by Gary:
--------------------------------------------
Issue was not encountered in the following browsers running on Windows XP:
- Firefox
- Safari
- Chrome

Link to original Google Code issue:
http://code.google.com/p/byoogle/issues/detail?id=69