Issue 24: Javascript error from V8 inside of Chrome
http://code.google.com/p/v8/issues/detail?id=24

Comment #3 by getify:
Here's the link I promised:

http://www.flensed.com/code/dev-tests/test-chrome.html

This file simply loads  
http://www.flensed.com/code/dev-tests/test-chrome.js, which
has the following in it:

(function testme() {
        try {
                doesntexist();
        }
        catch (err) {
                setTimeout(testme,1000);
        }
})();

When I have the javascript console open in Chrome, and I run the page, I get
a "ReferenceError" reported on line 6 of that script, which is the  
setTimeout()
line. The error indicates that "testme" is undefined at that point.

Incidentally, I should point out that this simple case only seems to happen  
if the
setTimeout() is inside a try/catch as shown.  If I remove the try/catch, I  
get no
reported error.



-- 
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

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to