Closed Bug 99464 Opened 24 years ago Closed 23 years ago

ASSERTION: ~nsTextEditor: 'Not Reached', file nsPlaintextEditor.cpp line 169 - Closing text file using File>Close

Categories

(Core :: DOM: Editor, defect)

x86
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.5alpha

People

(Reporter: timeless, Assigned: sfraser_bugs)

References

()

Details

(Keywords: assertion)

Steps: 1. create a text file (cp /dev/null foo || touch foo) 2. open the file in editor ({nav}file>open address [browse] (*)new composer window for editing [ok]) 2' observer content is <html><body></body></html> -- this is some other bug I don't know the number. 3. File>Close ###!!! ASSERTION: root element not in document: 'doc != nsnull', file nsXULContentBuilder.cpp, line 1524 ###!!! Break: at file nsXULContentBuilder.cpp, line 1524 nsWidget::~nsWidget() of toplevel: 165 widgets still exist. nsWidget::~nsWidget() of toplevel: 163 widgets still exist. WEBSHELL- = 21 nsWidget::~nsWidget() of toplevel: 156 widgets still exist. ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "setting a property that has only a getter" {file: "chrome://editor/content/ComposerCommands.js" line: 469}]' when calling method: [nsIControllerCommand::doCommand]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goDoCommand :: line 67" data: yes] ************************************************************ An error occurred executing the cmd_close command ###!!! ASSERTION: ~nsTextEditor: 'Not Reached', file nsPlaintextEditor.cpp, line 169 ###!!! Break: at file nsPlaintextEditor.cpp, line 169 WEBSHELL- = 20 4. Do 2 5. Ctrl-W ###!!! ASSERTION: root element not in document: 'doc != nsnull', file nsXULContentBuilder.cpp, line 1524 ###!!! Break: at file nsXULContentBuilder.cpp, line 1524 WEBSHELL- = 21 nsWidget::~nsWidget() of toplevel: 154 widgets still exist. WEBSHELL- = 20 ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "setting a property that has only a getter" {file: "chrome://editor/content/ComposerCommands.js" line: 469}]' when calling method: [nsIControllerCommand::doCommand]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goDoCommand :: line 67" data: yes] ************************************************************ An error occurred executing the cmd_close command
kin, simon, wasn't this a bug one of you was telling me about from a long time ago? Assign back if you don't know what the %&$# I'm talking about.
Assignee: jfrancis → sfraser
Keywords: assertion
Assigning to random milestone.
Target Milestone: --- → mozilla1.2alpha
Target Milestone: mozilla1.2alpha → mozilla1.5alpha
Assertion is long gone.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.