timkokes / svgweb

Automatically exported from code.google.com/p/svgweb
0 stars 0 forks source link

Exceptions inside SVGLoad event are not raised #635

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Inside an SVGLoad event cause an exception:
2. window.addEventListener('SVGLoad', function() { thiswillnotwork(); });
3. Observe the error is printed to console.log instead of raised.

What is the expected output? What do you see instead?
The exception should be raised as per normal Javascript errors so it can be 
properly handled by the developer. This would also make debugging on systems 
without console.log much easier (such as IE 6).

What version of the product are you using? On what operating system,
browser, and version of Flash?
svgweb-2011-02-03-Lurker-Above.zip on the latest Firefox, Chromium, and IE 6 
and above.

Original issue reported on code.google.com by mccor...@gmail.com on 17 Nov 2011 at 7:02