fix window.onerror for test @rev yungcheng.chen@ @bug W-2926313@
fix window.onerror for test
@rev yungcheng.chen@
@bug W-2926313@

badlogicmanpreet/aura,forcedotcom/aura,forcedotcom/aura,forcedotcom/aura,madmax983/aura,badlogicmanpreet/aura,badlogicmanpreet/aura,forcedotcom/aura,madmax983/aura,forcedotcom/aura,badlogicmanpreet/aura,madmax983/aura,madmax983/aura,madmax983/aura,madmax983/aura,badlogicmanpreet/aura,badlogicmanpreet/aura