Comment #1 on issue 26931 by [email protected]: DevTools: Scripts with  
particular problems are not reported in 'scripts' debugger response.
http://code.google.com/p/chromium/issues/detail?id=26931

The problem here is that the script is GCed by the moment 'scripts'  
response is being
sent. It happens because global function test is overridden with the value  
of
document.body and as long as there are no other functions in the script  
nothing keeps
it from being collected.

So the steps that lead to this are following:
1. Global function 'test' is created.
2. Global variable 'test' is initialized with value of document.body and it  
removes
the only reference to the function 'test'.
3. function 'test' is no longer referenced from within the script and it  
gets GCed
4. There are no functions left that reference the script and it gets GCed.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to