#2771 closed defect (fixed)
xd loading: in some cases, the xd loader will call onload listeners before dj_load_init has run
Reported by: | James Burke | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Loader | Version: | 0.4.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
In some rare cases using a combination of local and remote dojo modules, the xd loader will finish loading everything before the domcontentloaded/onload event in the browser fires. If it does, the xd loader calls dojo.hostenv.callLoaded() (the xd loader is usually the slower path, so it needs to call the onload listeners).
This is bad because the dom may not be ready yet.
Unfortunately, I do not have a good isolated test case. I saw it with some larger applications.
Change History (5)
comment:1 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|
comment:3 Changed 14 years ago by
Note: See
TracTickets for help on using
tickets.
(In [8177]) Fixes #2771. An edge case when loading local and remote modules via xd.