Bug: ctrl+W in compose fails to close a window. shift+ctrl+J fails to open error console. "An error occurred executing the cmd_close command:" ... MsgComposeCommands.js
Status: RESOLVED
Priority: --
Resolution: WORKSFORME
Created: 2022-01-19 21:12:45+00:00
Resolved: 2022-04-16 16:45:08+00:00

Perhaps a regression from spaces work (just a guess, because I'm not a regular user of nightly)

ctrl+W in compose fails to close a window.
shift+ctrl+J fails to open error console


 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
MimeMessage.jsm:541:26
15:59:00.437
Uncaught
Exception { name: "NS_ERROR_FAILURE", message: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgIdentity.draftFolder]", result: 2147500037, filename: "chrome://messenger/content/messengercompose/MsgComposeCommands.js", lineNumber: 6479, columnNumber: 0, data: null, stack: "ComposeCanClose@chrome://messenger/content/messengercompose/MsgComposeCommands.js:6479:26\ndoCommand@chrome://messenger/content/messengercompose/MsgComposeCommands.js:947:13\ndoCommand@chrome://messenger/content/messengercompose/MsgComposeCommands.js:1175:9\ngoDoCommand@chrome://global/content/globalOverlay.js:128:18\noncommand@chrome://messenger/content/messengercompose/messengercompose.xhtml:1:12\n", location: XPCWrappedNative_NoHelper }
​
columnNumber: 0
​
data: null
​
filename: "chrome://messenger/content/messengercompose/MsgComposeCommands.js"
​
lineNumber: 6479
​
location: XPCWrappedNative_NoHelper { QueryInterface: QueryInterface(), filename: Getter, name: Getter, … }
​​
QueryInterface: function QueryInterface()
​​
asyncCaller: null
​​
asyncCause: null
​​
caller: XPCWrappedNative_NoHelper { QueryInterface: QueryInterface(), filename:
, name:
, … }
​​
columnNumber: 26
​​
filename: "chrome://messenger/content/messengercompose/MsgComposeCommands.js"
​​
formattedStack: "ComposeCanClose@chrome://messenger/content/messengercompose/MsgComposeCommands.js:6479:26\ndoCommand@chrome://messenger/content/messengercompose/MsgComposeCommands.js:947:13\ndoCommand@chrome://messenger/content/messengercompose/MsgComposeCommands.js:1175:9\ngoDoCommand@chrome://global/content/globalOverlay.js:128:18\noncommand@chrome://messenger/content/messengercompose/messengercompose.xhtml:1:12\n"
​​
lineNumber: 6479
​​
name: "ComposeCanClose"
​​
nativeSavedFrame: SavedFrame { source: "chrome://messenger/content/messengercompose/MsgComposeCommands.js", sourceId: 1728, line: 6479, … }
​​
sourceId: 1728
​​
sourceLine: ""
​​
toString: function toString()
​​
<get asyncCaller()>: function asyncCaller()
​​
<get asyncCause()>: function asyncCause()
​​
<get caller()>: function caller()
​​
<get columnNumber()>: function columnNumber()
​​
<get filename()>: function filename()
​​
<get formattedStack()>: function formattedStack()
​​
<get lineNumber()>: function lineNumber()
​​
<get name()>: function name()
​​
<get nativeSavedFrame()>: function nativeSavedFrame()
​​
<get sourceId()>: function sourceId()
​​
<get sourceLine()>: function sourceLine()
​​
<prototype>: Object { … }
​
message: "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgIdentity.draftFolder]"
​
name: "NS_ERROR_FAILURE"
​
result: 2147500037
​
stack: "ComposeCanClose@chrome://messenger/content/messengercompose/MsgComposeCommands.js:6479:26\ndoCommand@chrome://messenger/content/messengercompose/MsgComposeCommands.js:947:13\ndoCommand@chrome://messenger/content/messengercompose/MsgComposeCommands.js:1175:9\ngoDoCommand@chrome://global/content/globalOverlay.js:128:18\noncommand@chrome://messenger/content/messengercompose/messengercompose.xhtml:1:12\n"
​
<prototype>: ExceptionPrototype { toString: toString(), name: Getter, message: Getter, … }
MsgComposeCommands.js:6479
15:59:00.437
An error occurred executing the cmd_close command: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgIdentity.draftFolder]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://messenger/content/messengercompose/MsgComposeCommands.js :: ComposeCanClose :: line 6479"  data: no]