Status

()

Firefox
General
UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: lesliewu2008, Unassigned)

Tracking

4.0 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
Build ID: 20110318052756

Steps to reproduce:

when menu bar is hidden ,the browser close button will become the "titlebar-close" button.I want to listener to the browser close event.so the code is 
document.getElementById("titlebar-close").addEventListener("command",function(){logger.debug("browser close");},false);



Actual results:

however the listener cannot work right way.There is no log as i close the firefox.


Expected results:

"browser close" should be printed in the user-defined log.
You need to log in before you can comment on or make changes to this bug.