Removed onerror testing code.