[Webkit-unassigned] [Bug 8519] WebCore doesn't fire window.onerror event.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 12 21:11:29 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=8519





------- Comment #6 from adele at apple.com  2007-06-12 21:11 PDT -------
looks like we have some support for this event (see
LayoutTests/fast/dom/onerror-img.html).

>From looking at the code, we dispatch this event in these situations:
1) In the tokenizer (both HTML and XML versions), if an error occurred in a
cached script. (HTMLTokenizer.cpp, XMLTokenizer.cpp)
2) If an error occurred loading an image (HTMLImageLoader.cpp)
3) If an error occurs parsing a script (HTMLScriptElement.cpp)

So there's probably some other places where we should be firing the event.  And
there also might be some investigation needed about when the event bubbles.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list