Opened 13 years ago

Closed 13 years ago

#8085 closed defect (wontfix)

dojo.addOnLoad inconsistency between IE6 and FF3

Reported by: Les Owned by: anonymous
Priority: high Milestone: tbd
Component: Core Version: 1.2.1
Keywords: addOnLoad Cc: James Burke
Blocked By: Blocking:


Steps to recreate:

  1. Enter the following in Firebug and run:
  1. Now enter:
    dojo.addOnLoad(function() {

Repeat the same steps in IE6. I used the DebugBar? console. You will see that in IE alert will first display 'outside' and then 'inside'. The order is reversed. Why this inconsistency? I tried release 1.1.1 and 1.2.1

Change History (1)

comment:1 Changed 13 years ago by Tom Trenka

Cc: James Burke added
Resolution: wontfix
Status: newclosed

See the same thread...but the bottom line is that there is a setTimeout within dojo._callLoaded, there to workaround specific browsers (such as IE) that have synchronization issues WRT to conflicting loading resources and causing a possible hang.

There is a note within that code that asks if all browsers should be routed through the timeout; that's a separate issue, though.

Note: See TracTickets for help on using tickets.