steps: file>new message file>print cancel WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(webBrowserPrint->Print(0, (nsIWebProgressListener*)0))) failed, file /home/timeless/mozilla/editor/composer/src/nsEditorShell.cpp, line 1721 #PRINT ERROR: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIEditorShell.Print]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/messengercompose/MsgComposeCommands.js :: DoCommandPrint :: line 1074" data: no] expect: no assertion that print succeeded, since failing is perfectly valid. no js error (from mail) when print fails, for the same reason.
is this a DUP of 131174 ?
no, why would it be?
Created attachment 77219 [details] [diff] [review] patch Simple low risk patch, ther eis a try block around the JS that calls this
Comment on attachment 77219 [details] [diff] [review] patch sr=bzbarsky
I think someone forgot to close this, so I'm closing it. The patch is in a file that doesn't even exist anymore.