Bug 1659241 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

There is a logged exception in TB 78.2.0-pre build 1:
> [Exception... \"Illegal value\"  nsresult: \"0x80070057 (NS_ERROR_ILLEGAL_VALUE)\"  location: \"JS frame :: chrome://messenger/content/accountUtils.js :: msgNewMailAccount :: line 523\"  data: no]

accountUtils.js:523 uses the raw account manager window
> window.openDialog(
but it should probably be
> window.docShell.rootTreeItem.domWindow.openDialog(

See attached patch for the trivial fix (relative to comm-central for convenience, but I did not actually build comm-central).
There is a logged exception in TB 78.2.0-pre build 1:
> [Exception... \"Illegal value\"  nsresult: \"0x80070057 (NS_ERROR_ILLEGAL_VALUE)\"  location: \"JS frame :: chrome://messenger/content/accountUtils.js :: msgNewMailAccount :: line 523\"  data: no]

accountUtils.js:523 uses the raw account manager window
> window.openDialog(

but it should probably be
> window.docShell.rootTreeItem.domWindow.openDialog(

See attached patch for the trivial fix (relative to comm-central for convenience, but I did not actually build comm-central).

Back to Bug 1659241 Comment 3