> window.onerror = function (e) {
>    alert(e);
> }
>
> try {
>    throw 'Testing;
> } catch (e) {}
>
> This doesn't seem to work.

Seems like firebug and chrome dev tools grab the global focus away
from the window. If you add the throw to the page itself it will work.
------------------------
Gary Katsevman
Computer Science Undergraduate
Northeastern University
gkatsev.com

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to