onerror. Adding support for event capturing through script. Adding support for robust error-checking in the chrome registry.