Open Bug 712537 Opened 13 years ago Updated 2 years ago

load event fires on a closed sidebar during session restore

Categories

(Firefox :: Session Restore, defect)

10 Branch
x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: philspam, Unassigned)

Details

Attachments

(1 file)

Attached file sidebarTest.xul
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0.1) Gecko/20100101 Firefox/8.0.1
Build ID: 20111120135848

Steps to reproduce:

With a single Firefox window open, open a sidebar which has a load event handler (testcase attached).
Open a new window.
The sidebar opened previously should already be open in the new window, close it.
Switch back to the original window.
Select exit from the File menu.
Start Firefox.
Select "Restore Previous Session" from the History menu.


Actual results:

The sidebar's load event handler fires for both windows.


Expected results:

The behaviour should be consistent with opening a new window normally, I.E., the sidebar's load handler should fire only if the sidebar is open.
Attachment #583377 - Attachment mime type: application/octet-stream → text/xul
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: