Bug 19672 - Support for script.onerror for HTTP errors
Summary: Support for script.onerror for HTTP errors
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://www.fredck.com/bugs/script_one...
Depends on:
Reported: 2008-06-19 07:03 PDT by Frederico Caldeira Knabben
Modified: 2009-05-11 21:35 PDT (History)
1 user (show)

See Also:

TC (606 bytes, text/html)
2008-06-19 07:04 PDT, Frederico Caldeira Knabben
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederico Caldeira Knabben 2008-06-19 07:03:57 PDT
Currently, there is no way to detect errors (like HTTP 404) when dynamically loading scripts. This is doable with Firefox by using the script.onerror event.

The provided URL points to a reduced TC.
Comment 1 Frederico Caldeira Knabben 2008-06-19 07:04:52 PDT
Created attachment 21836 [details]
Comment 2 Eric Seidel (no email) 2009-05-11 21:35:02 PDT
It looks like this has already been fixed.