Closed Bug 9578 Opened 27 years ago Closed 27 years ago

Editor: File | Close doesn't work

Categories

(Core :: DOM: Editor, defect, P3)

Sun
Solaris
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: mcafee, Assigned: cmanske)

Details

Linux: File | Close doesn't seem to do anything, closing the window via the window manager works Ok.
Status: NEW → ASSIGNED
Summary: Editor: File | Close doesn't work → Editor: File | Close doesn't work
Target Milestone: M9
The editor is trying to use "window.close()", but as commented in navigator.js, that won't work for windows not created in JavaScript. The old toolkit appcore is used for the browser, but we shouldn't use that any more I'll try to close the window in the editor appshell code. Dan: Do you plan on making window.close() work for webshell windows not created in JS?
Status: ASSIGNED → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
This problem has been fixed, using the ToolkitCore to close the window (after bug 7792 was fixed.) So this bug can, strictly speaking, be closed. I've opened another bug 9703 to track cmanske's request above.
Not so fast! It isn't really fixed until I checkin nsEditorShell.cpp with the missing line: mWebShellWin->Close(); Sujay: Just leave this "fixed" and I'll add a note here when I checkin.
Status: RESOLVED → VERIFIED
marking this bug verified fixed in 7/15 build.
You need to log in before you can comment on or make changes to this bug.