Opened 7 years ago

Closed 4 years ago

#15997 closed defect (patchwelcome)

Cross Frame event handling not working after frame refresh (IE8)

Reported by: grijsje Owned by: Kris Zyp
Priority: undecided Milestone: 1.13
Component: Events Version: 1.7.0
Keywords: Cc:
Blocked By: Blocking:

Description

The scenario is reproducable with the attached test. The scenario goes as follows. There are two frames in a singel page.

  1. Frame B connects to a dom event in Frame A. (triggering the dom event will now invoke the handler)
  2. Now Frame B gets reloaded and connects to the same dom event again.

Now when the dom event is triggered again the event hanlder is no longer invoked.

We tried to disconnect before unloading but it does not help.

Ultimately the work around is to nullify the old event handler before creating a new one. i.e.

frame.document.onclick = null

We found the problem using dojo 1.7.0, however it is also reproducable with dojo 1.8.0.

Attachments (1)

bug.zip (1.3 KB) - added by grijsje 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by grijsje

Attachment: bug.zip added

comment:1 Changed 7 years ago by bill

Component: GeneralEvents
Owner: set to Kris Zyp

comment:2 Changed 4 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 3+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.