Implement onSetupError for html5 and flash [Delivers #77319624 #77377650]