bug 1025330 - expose the failed channel in nsIDocShell for error pages r=bz