jasonzhyan / google-axs-chrome

Automatically exported from code.google.com/p/google-axs-chrome
0 stars 0 forks source link

Globals Leaking variables #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. activate ChromeVIS
2. run any test-suite that checks for globals, e.g. 
http://visionmedia.github.com/mocha/
3. global leaks are detected, making the tests unuseful, the following 
variables are leaking:

CHROMEVIS_extensionBridgeObj, myChromeVisReader, lensShown, startListening, 
setupExtension2PageBridge, moveForward, moveBackward, keyHandler, 
mouseUpHandler, resizeHandler, scrollHandler, ChromeVisExtensionBridge
4. with disabled ChromeVIS: no leaks

What is the expected output? What do you see instead?
no global variables, or if not avoidable one single global variable with the 
others as properties (that could be properly ignored)

What version of the product are you using? On what operating system?
Ubutunu Oneiric (Ubuntu 11.10), ChromeVIS 2.4.4

Please provide any additional information below.
Using ChromeVIS to select text with keyboard, avoiding the mouse.
Can't use it for development then. Always disabling/reabling ChromeVIS takes 
too much time.

Original issue reported on code.google.com by marcrene...@googlemail.com on 12 Apr 2012 at 9:59

GoogleCodeExporter commented 8 years ago
Browser: 18.0.1025.151 (Developer-Build 130497 Linux) Ubuntu 11.10

Original comment by marcrene...@googlemail.com on 12 Apr 2012 at 10:00

GoogleCodeExporter commented 8 years ago
Thanks for the bug report!

Could you describe what you are trying to do with Mocha and ChromeVis?  Are you 
integrating them in some way, or did you just happen to be using them at the 
same time?

Original comment by deb...@google.com on 1 May 2012 at 9:38