I tried to setup an handler on the window property onunload, like we do for onload but the handler isn't called at all: <window xmlns:html="http://www.w3.org/TR/REC-html40" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="startup()" onunload="unload()" title="&msgComposeWindow.title;" style="width:100%;height:100%">
Assignee: hyatt → sfraser
Status: ASSIGNED → NEW
reassigned to sfraser as it's an editor bug
Assignee: sfraser → hyatt
Component: Editor → XUL
I messed up with bug splat, wrong bug, reassign to hyatt. Sorry!
I am holding a fix for this in my tree. I can check it in after M5. If you want it sooner (i.e., in M5) you can talk to Chris Hofmann.
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
Verified on 1999-05-18-09 build. load/onunloads events are being fired when the xul file is loaded as the top level window, but they fail when the xul file is loaded by entering the filename in the location bar. Bug 6717 was reported for that.
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL. XUL component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: gerardok → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.