Changes between Version 2 and Version 3 of Ticket #14157


Ignore:
Timestamp:
Nov 22, 2011, 11:18:24 PM (9 years ago)
Author:
bill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14157

    • Property Version changed from 1.7.0b1 to 1.7.0
    • Property Summary changed from cross frame connects don't work on IE to [regression] cross frame connects don't work on IE
  • Ticket #14157 – Description

    v2 v3  
    11On IE (at least IE6 and IE7), the event system sets up an indirection where emiter.listeners[] contains inidices into an _dojoIEListeners_ array.    When a page loads multiple copies of dojo, there are multiple _dojoIEListeners_ arrays, but for any specific node, all the inidices in emiter.listeners[] must refer to the same _dojoIEListeners_ array in order for the right callbacks to be called.
    22
    3 This isn't working correctly, specifically when there are two frames that load dojo, and frame #1 listens to an event on a node in frame #2.   (This is the problem manifesting itself in #14073.)    I suspect the problem happens even without multiple frames, just whenever two copies of dojo call on(node, type, ...) for the same event on the same node.
     3This isn't working correctly, specifically when there are two frames that load dojo, and frame {{{#1}}} listens to an event on a node in frame {{{#2}}}.   I suspect the problem happens even without multiple frames, just whenever two copies of dojo call on(node, type, ...) for the same event on the same node.
    44
    55To demonstrate the problem, see the attached testcase.  When run on IE6 or IE7, it ends up calling the focus handler twice.   Load outer.html in IE6 or IE7 and then refresh the page to see the error (which appears as two alerts, showing the focus handler is getting run twice).