Open Bug 678144 Opened 14 years ago Updated 3 years ago

Browser close button

Categories

(Firefox :: General, defect)

4.0 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: lesliewu2008, Unassigned)

Details

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.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.