Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 7771 by nrossi: Event window.onerror doesn't work
http://code.google.com/p/chromium/issues/detail?id=7771

Chrome Version       : 1.0.154.8
URLs (if applicable) :
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 3:
     Firefox 3: OK
          IE 7: OK

What steps will reproduce the problem?
1. Define a function to handle window errors
2. Assign this function to window.onerror event
3. Throw new error and it never goes inside the function

What is the expected result?
The execution of the function body assigned to the window.onerror event.

What happens instead?
The error is registered into the javascript console but it never runs the
function

Please provide any additional information below. Attach a screenshot if
possible.

An example is attached.



Attachments:
        test.html  346 bytes

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