Closed Bug 5394 Opened 25 years ago Closed 25 years ago

XUL window property onunload not fire at all

Categories

(Core :: XUL, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: hyatt)

Details

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%">
Status: NEW → ASSIGNED
Target Milestone: M6
Assignee: hyatt → sfraser
Status: ASSIGNED → NEW
Component: XUL → Editor
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!
Status: NEW → ASSIGNED
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
Closed: 25 years ago
Resolution: --- → FIXED
Fixed.
Status: RESOLVED → VERIFIED
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.