Bug 1033858 - Add a listener for and log errors in content. r=gaye