Open
Bug 407198
Opened 17 years ago
Updated 3 years ago
programmatic restart does not fire window onload for the window that initiated the restart
Categories
(Toolkit :: Startup and Profile System, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: neonile, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 XPCOMViewer/0.9.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 XPCOMViewer/0.9.5
Scenario: there are multiple browser windows open, and one uses Components.classes["@mozilla.org/toolkit/app-startup;1"].getService(nsIAppStartup) .quit(nsIAppStartup.eRestart) to restart Firefox, e.g. from an extension.
When Firefox restarts, all windows are restored, with tabs and everything. However, the onload handler for the window the restart was initiated from, is not fired. As a result, setup that needs to be done onload for that window is not performed.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Assignee | ||
Updated•17 years ago
|
Product: Firefox → Toolkit
Updated•3 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•